Adds a KALEIDOSCOPE_SKETCH macro definition to sketch header

By means of this macro, headers can check if they are compiled
in the sketch compilation unit or in any other compilation unit.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
pull/800/head
Florian Fleissner 5 years ago
parent ed667bc97c
commit cba14151d1

@ -1 +1,3 @@
// Any code that appears here is added to the top of the preprocessed sketch file.
#define KALEIDOSCOPE_SKETCH

Loading…
Cancel
Save