Browse Source

Remove gpio 0 pinmode in analog sensor

Thanks to @tonilopezmr 
1c3d68af34
master
Max Prokhorov 5 years ago
committed by GitHub
parent
commit
c15d87a517
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      code/espurna/sensors/AnalogSensor.h

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

@ -69,7 +69,6 @@ class AnalogSensor : public BaseSensor {
// Initialization method, must be idempotent // Initialization method, must be idempotent
void begin() { void begin() {
pinMode(0, INPUT);
_ready = true; _ready = true;
} }


Loading…
Cancel
Save