From 12da05776612ceb072bb249f70a112922bce15d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Tue, 26 Dec 2017 20:04:37 +0100 Subject: [PATCH] Changes to allow compilation from Arduino IDE --- code/espurna/config/sensors.h | 34 +++++++++++++++++----------------- code/espurna/{libs => }/pwm.c | 0 2 files changed, 17 insertions(+), 17 deletions(-) rename code/espurna/{libs => }/pwm.c (100%) diff --git a/code/espurna/config/sensors.h b/code/espurna/config/sensors.h index 60311ed8..3b136362 100644 --- a/code/espurna/config/sensors.h +++ b/code/espurna/config/sensors.h @@ -456,75 +456,75 @@ // Class loading //-------------------------------------------------------------------------------- -#include "sensors/BaseSensor.h" +#include "../sensors/BaseSensor.h" #if ANALOG_SUPPORT - #include "sensors/AnalogSensor.h" + #include "../sensors/AnalogSensor.h" #endif #if BMX280_SUPPORT #include - #include "sensors/BMX280Sensor.h" + #include "../sensors/BMX280Sensor.h" #endif #if DALLAS_SUPPORT #include - #include "sensors/DallasSensor.h" + #include "../sensors/DallasSensor.h" #endif #if DHT_SUPPORT - #include "sensors/DHTSensor.h" + #include "../sensors/DHTSensor.h" #endif #if DIGITAL_SUPPORT - #include "sensors/DigitalSensor.h" + #include "../sensors/DigitalSensor.h" #endif #if ECH1560_SUPPORT - #include "sensors/ECH1560Sensor.h" + #include "../sensors/ECH1560Sensor.h" #endif #if EMON_ADC121_SUPPORT - #include "sensors/EmonADC121Sensor.h" + #include "../sensors/EmonADC121Sensor.h" #endif #if EMON_ADS1X15_SUPPORT - #include "sensors/EmonADS1X15Sensor.h" + #include "../sensors/EmonADS1X15Sensor.h" #endif #if EMON_ANALOG_SUPPORT - #include "sensors/EmonAnalogSensor.h" + #include "../sensors/EmonAnalogSensor.h" #endif #if EVENTS_SUPPORT - #include "sensors/EventSensor.h" + #include "../sensors/EventSensor.h" #endif #if HLW8012_SUPPORT #include - #include "sensors/HLW8012Sensor.h" + #include "../sensors/HLW8012Sensor.h" #endif #if MHZ19_SUPPORT #include - #include "sensors/MHZ19Sensor.h" + #include "../sensors/MHZ19Sensor.h" #endif #if PMSX003_SUPPORT #include #include - #include "sensors/PMSX003Sensor.h" + #include "../sensors/PMSX003Sensor.h" #endif #if SI7021_SUPPORT - #include "sensors/SI7021Sensor.h" + #include "../sensors/SI7021Sensor.h" #endif #if SHT3X_I2C_SUPPORT - #include "sensors/SHT3XI2CSensor.h" + #include "../sensors/SHT3XI2CSensor.h" #endif #if V9261F_SUPPORT #include - #include "sensors/V9261FSensor.h" + #include "../sensors/V9261FSensor.h" #endif diff --git a/code/espurna/libs/pwm.c b/code/espurna/pwm.c similarity index 100% rename from code/espurna/libs/pwm.c rename to code/espurna/pwm.c