Is there a way for you to redefine a value in code?
For instance, if I have "#define CapSense_AUTOCALIBRATION_ENABLE (1u)" set by my CapSense module, is there a way in my code to re-define this to (0u) depending on a specific input? If so, how could I possibly go about doing this?
The #define is a macro command that goes to the C-compiler and as such is fixed at compile-time. You may re-define the value, but again: only at compile-time.