From 9658e87ddfd846cd949f7029c85da555446e0031 Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Mon, 25 Apr 2022 07:11:52 -1000 Subject: [PATCH] Handle pins without pullups --- Grbl_Esp32/src/DumpConfig.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Grbl_Esp32/src/DumpConfig.cpp b/Grbl_Esp32/src/DumpConfig.cpp index a3bd9e87..8f30ff47 100644 --- a/Grbl_Esp32/src/DumpConfig.cpp +++ b/Grbl_Esp32/src/DumpConfig.cpp @@ -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)); }