Skip to content

Commit

Permalink
Merge pull request #1758 from mcspr/ldr-sensor/defines
Browse files Browse the repository at this point in the history
Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT
  • Loading branch information
xoseperez committed Jun 4, 2019
2 parents 2cd7a87 + 9f478e7 commit 79ee2a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/espurna/config/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion code/espurna/sensors/AnalogSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79ee2a7

Please sign in to comment.