Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

'main_app_timer_handler' redeclared as different kind of symbol.

I am trying to setup a 0.1 sec timer to trigger a pass through the perfect_shower_main code.  I keep getting an error:

'main_app_timer_handler' redeclared as different kind of symbol.

 I’ve tried everything I can think of and can’t find anything on Nordic’s blog site.  I’ve attached a screenshot of the code and error.

 I’ve got the timer and timer handler defined as uint32_t.  Also tried static, pointers, indirect addressing etc...

I'm developing on the nRF52 DK, SDK15.3, SES 4.30 and working with the nrf_ble_uart_c example code.

  • Hi!

    The error you're getting generally happens whenever one declares two variables of the same name and different types. Perhaps the function is defined somewhere else.

    If you zip your whole working directory I can take a look. I can't get a lot from the attached images.

    Best regards,

    Heidi