fix stopping
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user