From c45bc1950fa9b66b1b7f85e73b38c1868cf388b5 Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Sat, 26 Jun 2021 09:44:26 -1000 Subject: [PATCH] Deleted useless test in Axes It always returns true and is confusing. --- Grbl_Esp32/src/Machine/Axes.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Grbl_Esp32/src/Machine/Axes.cpp b/Grbl_Esp32/src/Machine/Axes.cpp index 9598fc6f..e4c5bb9c 100644 --- a/Grbl_Esp32/src/Machine/Axes.cpp +++ b/Grbl_Esp32/src/Machine/Axes.cpp @@ -206,12 +206,7 @@ namespace Machine { tmp[0] = allAxis[a]; tmp[1] = '\0'; - if (handler.handlerType() == Configuration::HandlerType::Runtime || handler.handlerType() == Configuration::HandlerType::Parser || - handler.handlerType() == Configuration::HandlerType::AfterParse || - handler.handlerType() == Configuration::HandlerType::Generator || - handler.handlerType() == Configuration::HandlerType::Validator) { - handler.section(tmp, _axis[a]); - } + handler.section(tmp, _axis[a]); } }