" -> " + String(msg));
}
// -------------- MQTT callback --------------
void mqttCallback(char* topi... oid handleCmdWeb() {
Serial.println("[WEB] /cmd called");
if (!server.hasArg("c")) { server.send(4... dles it.
// To allow immediate reaction, we can set hallPulses=0 if homing ends.
if (state... lastState = state;
}
switch (state) {
case State::IDLE:
// ensure servo detached (no