1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 10:23:19 +02:00

Deleted useless test in Axes

It always returns true and is confusing.
This commit is contained in:
Mitch Bradley
2021-06-26 09:44:26 -10:00
parent 07f405d82b
commit c45bc1950f

View File

@@ -206,14 +206,9 @@ 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]);
}
}
}
void Axes::afterParse() {
for (size_t i = 0; i < MAX_NUMBER_AXIS; ++i) {