cancel
Showing results for 
Search instead for 
Did you mean: 

Tickless idle on STM32WB55

hagaimoshe
Associate

I'm working on inserting the STM32WB55 into stop mode2 via the tickless idle for the FreeRTOS
I saw that the SDK has an example for it: in the BLE_HeartRateFreeRTOS example for the nocleo wb55

I went over the code of the SDK and there was one line which seemed a bit strange to me, in method ReturnTimeElapsed()

hagaimoshe_0-1688301926799.png

It seems to me that the if is wrong, and should be: (return_value >= SSRValueOnLastSetup)

I didn't run the SDK as is since I had to change some of the code so it will fit the design of our project, But I did had to change the sign of that 'if' statement for it to work.

Am I missing here something, has anyone else encountered this?

0 REPLIES 0