fix stopping

This commit is contained in:
2026-06-10 17:49:32 +03:00
parent 4ed2a93cdd
commit 981a9ef074
2 changed files with 24 additions and 11 deletions

View File

@@ -117,6 +117,8 @@ AsibFM700ServoController::error_t AsibFM700ServoController::hardwareSetState(har
if (state.movementState == hardware_movement_state_t::HW_MOVE_STOPPING) { // stop!
err = static_cast<AsibFM700ServoControllerErrorCode>(Mount.stop());
/*
if (err) {
return err;
}
@@ -144,6 +146,7 @@ AsibFM700ServoController::error_t AsibFM700ServoController::hardwareSetState(har
std::this_thread::sleep_for(_hardwareConfig.pollingInterval);
}
*/
return err;
}