From 3842683b2039fee0b95f2f61f1442895a7bfabc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Fri, 29 Dec 2017 11:24:56 +0100 Subject: [PATCH] Fix my92xx reference for Arduino IDE --- code/espurna/config/all.h | 3 ++- code/espurna/config/prototypes.h | 7 ------- 2 files changed, 2 insertions(+), 8 deletions(-) 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 // -----------------------------------------------------------------------------