do not set pinmode for disabled pins
This commit is contained in:
@@ -98,7 +98,6 @@ void Gpio::init()
|
|||||||
Gpio2Go::configurePin(entry.pin, PinMode::InputPullup, InterruptMode::Change, 300);
|
Gpio2Go::configurePin(entry.pin, PinMode::InputPullup, InterruptMode::Change, 300);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
pinMode(entry.pin, OUTPUT);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user