From c15d87a517e56c6f85d24ca5d94310f8ee7fe4a3 Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Thu, 22 Aug 2019 03:08:28 +0300 Subject: [PATCH] Remove gpio 0 pinmode in analog sensor Thanks to @tonilopezmr https://github.com/xoseperez/espurna/pull/1827/commits/1c3d68af34b2b4d067dc86bd4e3680c18398646e --- code/espurna/sensors/AnalogSensor.h | 1 - 1 file changed, 1 deletion(-) diff --git a/code/espurna/sensors/AnalogSensor.h b/code/espurna/sensors/AnalogSensor.h index 2882c67e..d54f30cd 100644 --- a/code/espurna/sensors/AnalogSensor.h +++ b/code/espurna/sensors/AnalogSensor.h @@ -69,7 +69,6 @@ class AnalogSensor : public BaseSensor { // Initialization method, must be idempotent void begin() { - pinMode(0, INPUT); _ready = true; }