diff --git a/crossbow/platform_node.h b/crossbow/platform_node.h index 3728c59..b0f1820 100644 --- a/crossbow/platform_node.h +++ b/crossbow/platform_node.h @@ -2,7 +2,12 @@ #include "Arduino.h" #include "radio_node.h" +#ifdef ARDUINO_AVR_FEATHER32U4 #include +#elif defined(ARDUINO_SAMD_FEATHER_M0) +// Include EEPROM-like API for FlashStorage +#include +#endif #ifndef PLATFORM_NODE_H #define PLATFORM_NODE_H @@ -48,4 +53,4 @@ class PlatformNode { volatile int _channels[PLATFORM_TOTAL_CHANNEL_COUNT]; }; -#endif \ No newline at end of file +#endif