diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 0c075d5a..839f07c3 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -3758,8 +3758,8 @@ // will not work on real life since they all share GPIO // but it's OK to test build #define EMON_ANALOG_SUPPORT 1 - #define NTC_SENSOR 1 - #define LDR_SENSOR 1 + #define NTC_SUPPORT 1 + #define LDR_SUPPORT 1 #define PULSEMETER_SUPPORT 1 diff --git a/code/espurna/sensors/AnalogSensor.h b/code/espurna/sensors/AnalogSensor.h index e58363d9..2882c67e 100644 --- a/code/espurna/sensors/AnalogSensor.h +++ b/code/espurna/sensors/AnalogSensor.h @@ -3,7 +3,7 @@ // Copyright (C) 2017-2019 by Xose PĂ©rez // ----------------------------------------------------------------------------- -#if SENSOR_SUPPORT && (ANALOG_SUPPORT || NTC_SUPPORT || LDR_SENSOR) +#if SENSOR_SUPPORT && (ANALOG_SUPPORT || NTC_SUPPORT || LDR_SUPPORT) #pragma once