I have a library that generates a result of two allowed. This is done by defining, within the library itself, the #define __SE8R01__
or #define __RF24L01P__
directive.
The case is that this choice should be made within the main program. However I am not getting an alternative to this, being obliged to "move" in the original state of the library.
The question is how to send some main program directive, main()
, to any library in use. Or an alternative, so that the library being compiled will recognize the appropriate policy?