mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-15 11:04:16 +02:00
Handle pins without pullups
This commit is contained in:
@@ -96,6 +96,9 @@ void pin_item(const char* name, int pin_number, bool active_low = false, bool pu
|
|||||||
if (pin_number == UNDEFINED_PIN) {
|
if (pin_number == UNDEFINED_PIN) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (pin_number >= GPIO_NUM_34 && pin_number <= GPIO_NUM_39) {
|
||||||
|
pullup = false;
|
||||||
|
}
|
||||||
item(name, pinspec(pin_number, active_low, pullup));
|
item(name, pinspec(pin_number, active_low, pullup));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user