Is there a compile time conditional statement for debugging?
Hello everyone!
I am trying to debug some code but there are some flags in flash that keep getting set when I exit debug and it enters run mode (or when I power up the sensor. Basically, anytime it gets a chance to run before I can get it in debug mode).
This had me wondering, is there a compile time debug command I can run that wouldn't run on the microcontroller unless I was in debug mode? Something like #DEBUG or something to that effect?
Tried searching the forums but it turns out, the word "debug" is very popular . . . heh. Any help you can give me would be appreciated. Thanks!
