diff --git a/code/espurna/config/prototypes.h b/code/espurna/config/prototypes.h index 1ba3f355..38d549aa 100644 --- a/code/espurna/config/prototypes.h +++ b/code/espurna/config/prototypes.h @@ -62,6 +62,13 @@ template void domoticzSend(const char * key, T nvalue, const char * template bool idbSend(const char * topic, T payload); #endif +// ----------------------------------------------------------------------------- +// Light +// ----------------------------------------------------------------------------- +#if LIGHT_PROVIDER == LIGHT_PROVIDER_MY92XX +#include +#endif + // ----------------------------------------------------------------------------- // Utils // ----------------------------------------------------------------------------- diff --git a/code/espurna/hardware.ino b/code/espurna/hardware.ino index 78c335eb..6830466b 100644 --- a/code/espurna/hardware.ino +++ b/code/espurna/hardware.ino @@ -13,8 +13,6 @@ the migration to future version 2 will be straigh forward. */ -#include - void hwUpwardsCompatibility() { unsigned int board = getSetting("board", 0).toInt();