Browse Source
Merge pull request #1758 from mcspr/ldr-sensor/defines
Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT
master
Xose Pérez
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
code/espurna/config/hardware.h
-
code/espurna/sensors/AnalogSensor.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 |
|
|
|
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|