diff --git a/code/espurna/config/all.h b/code/espurna/config/all.h index 66acf767..bec91d47 100644 --- a/code/espurna/config/all.h +++ b/code/espurna/config/all.h @@ -2,8 +2,8 @@ #include "arduino.h" #include "hardware.h" #include "defaults.h" -#include "prototypes.h" #include "general.h" +#include "prototypes.h" #include "sensors.h" #ifdef USE_CORE_VERSION_H @@ -20,6 +20,7 @@ (Define USE_CUSTOM_H on commandline for platformio: export PLATFORMIO_BUILD_FLAGS="'-DUSE_CUSTOM_H'" ) */ + #ifdef USE_CUSTOM_H #include "custom.h" #endif diff --git a/code/espurna/config/prototypes.h b/code/espurna/config/prototypes.h index 894eb850..2239c523 100644 --- a/code/espurna/config/prototypes.h +++ b/code/espurna/config/prototypes.h @@ -81,13 +81,6 @@ template void domoticzSend(const char * key, T nvalue, const char * template bool idbSend(const char * topic, T payload); template bool idbSend(const char * topic, unsigned char id, T payload); -// ----------------------------------------------------------------------------- -// Light -// ----------------------------------------------------------------------------- -#if LIGHT_PROVIDER == LIGHT_PROVIDER_MY92XX -#include -#endif - // ----------------------------------------------------------------------------- // Utils // -----------------------------------------------------------------------------