From 9f478e7bb9d49ea86924372cbccdc20db8a734eb Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Thu, 30 May 2019 12:18:33 +0300 Subject: [PATCH] Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT --- code/espurna/config/hardware.h | 4 ++-- code/espurna/sensors/AnalogSensor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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