rename error state to fault

This commit is contained in:
Leonetienne
2025-12-15 22:39:25 +01:00
parent f1e45d886e
commit 072875fde7
3 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -68,6 +68,8 @@ void MainLoop::setup() noexcept
for (uint8_t i = 0; i < 3; i++) {
motors[i].commitMoveImmediately();
}
StateMachine::getInstance().setState(StateMachine::STATE::IDLING);
}
void MainLoop::update() noexcept
@@ -108,7 +110,7 @@ void MainLoop::update() noexcept
}
break;
case StateMachine::STATE::ERROR:
case StateMachine::STATE::FAULT:
default:
// Freeze in place until error clears or device reset
yield();