Question
Why is my #ifdef not working correctly?
I have a __BOOTLOADER symbol defined for my project as shown in the attached image
I want to display firmware version based on the defined symbol so I have an #ifdef statement to select the correct string. The IDE displays the source code correctly: the greyed/ungreyed sections are displayed as expected.
But when I run the program, GB_FW_REV[] = "5.26.1" instead of "5.26.B".
What am I doing wrong?
Thanks!
