1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-09 08:06:33 +02:00

Handle pins without pullups

This commit is contained in:
Mitch Bradley
2022-04-25 07:11:52 -10:00
parent 04317af88d
commit 9658e87ddf

View File

@@ -96,6 +96,9 @@ void pin_item(const char* name, int pin_number, bool active_low = false, bool pu
if (pin_number == UNDEFINED_PIN) {
return;
}
if (pin_number >= GPIO_NUM_34 && pin_number <= GPIO_NUM_39) {
pullup = false;
}
item(name, pinspec(pin_number, active_low, pullup));
}