2023-07-02 05:56 AM - last edited on 2023-07-05 10:08 AM by Remy ISSALYS
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()
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?