Skip to content
Commit 795650a2 authored by Sergei Ustinov's avatar Sergei Ustinov Committed by Gregory Nutt
Browse files

I'm worried about the stm32_tim_getcounter funtion. It returns always 32 bits....

I'm worried about the stm32_tim_getcounter funtion. It returns always 32 bits. But major stm32 timers have 16 bits counters. I think, it's not a good idea to return the memory behind the TIMx_CNT register.  This changes adds the register size checking.
parent a7fd8eb2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment