mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 02:42:36 +02:00
Deleted useless test in Axes
It always returns true and is confusing.
This commit is contained in:
@@ -206,14 +206,9 @@ namespace Machine {
|
|||||||
tmp[0] = allAxis[a];
|
tmp[0] = allAxis[a];
|
||||||
tmp[1] = '\0';
|
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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void Axes::afterParse() {
|
void Axes::afterParse() {
|
||||||
for (size_t i = 0; i < MAX_NUMBER_AXIS; ++i) {
|
for (size_t i = 0; i < MAX_NUMBER_AXIS; ++i) {
|
||||||
|
Reference in New Issue
Block a user