Browse Source

Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT

master
Max Prokhorov 5 years ago
parent
commit
9f478e7bb9
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      code/espurna/config/hardware.h
  2. +1
    -1
      code/espurna/sensors/AnalogSensor.h

+ 2
- 2
code/espurna/config/hardware.h View File

@ -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


+ 1
- 1
code/espurna/sensors/AnalogSensor.h View File

@ -3,7 +3,7 @@
// Copyright (C) 2017-2019 by Xose Pérez <xose dot perez at gmail dot com>
// -----------------------------------------------------------------------------
#if SENSOR_SUPPORT && (ANALOG_SUPPORT || NTC_SUPPORT || LDR_SENSOR)
#if SENSOR_SUPPORT && (ANALOG_SUPPORT || NTC_SUPPORT || LDR_SUPPORT)
#pragma once


Loading…
Cancel
Save