@@ -732,26 +732,6 @@ void GpioHandler::flashLightEnable(bool value)
}
-gpio_num_t GpioHandler::resolvePinNr(uint8_t pinNr)
-{
- switch(pinNr) {
- case 0:
- return GPIO_NUM_0;
- case 1:
- return GPIO_NUM_1;
- case 3:
- return GPIO_NUM_3;
- case 4:
- return GPIO_NUM_4;
- case 12:
- return GPIO_NUM_12;
- case 13:
- return GPIO_NUM_13;
- default:
- return GPIO_NUM_NC;
- }
-}
-
gpio_pin_mode_t GpioHandler::resolvePinMode(std::string input)
{
if( input == "disabled" ) return GPIO_PIN_MODE_DISABLED;