This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

APP_TIMER_DEF() warnings in Keil

I just ported my SDK 9.0 app timer code to SDK 10.0 which requires the use of the new APP_TIMER_DEF() macro. The problem is that is generates warnings in Keil (v5.17) that the timer ID variable I sent to the macro is declared but never referenced. The code compiles and runs fine, but I hate having warnings generated by my code. Any way to fix this?

Parents Reply Children
No Data
Related