From 0ff2304992cd55a238f46c35c5e69e24714cd204 Mon Sep 17 00:00:00 2001 From: bdring Date: Tue, 29 Jun 2021 15:08:58 -0500 Subject: [PATCH] Remove unneeded test. --- Grbl_Esp32/src/ControlPin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grbl_Esp32/src/ControlPin.cpp b/Grbl_Esp32/src/ControlPin.cpp index e97afe29..450d9cd8 100644 --- a/Grbl_Esp32/src/ControlPin.cpp +++ b/Grbl_Esp32/src/ControlPin.cpp @@ -23,7 +23,7 @@ void ControlPin::init() { } void ControlPin::report(char* status) { - if (_pin.undefined() || _pin.name() == "NO_PIN") { + if (_pin.undefined()) { return; }