...
This commit is contained in:
@@ -277,7 +277,7 @@ public:
|
||||
|
||||
*_mountStatus = mount_status_t::SLEWING;
|
||||
|
||||
auto s_err =
|
||||
error_t s_err =
|
||||
mcc_deduce_error_code(SlewModelT::slewToTarget(slew_and_stop), MccGenericMountErrorCode::ERROR_MOUNT_SLEW);
|
||||
|
||||
if (s_err) {
|
||||
@@ -640,7 +640,7 @@ protected:
|
||||
return;
|
||||
}
|
||||
|
||||
// call base-class stopMount method!
|
||||
// call base-class slewToTarget method!
|
||||
auto err = static_cast<MOUNT_T*>(mount_ptr)->slewToTarget();
|
||||
if (err) {
|
||||
mount_ptr->dispatchEvent(MccGenericFsmMountErrorEvent{mount_ptr, err});
|
||||
@@ -713,7 +713,7 @@ protected:
|
||||
return;
|
||||
}
|
||||
|
||||
// after stop trackin switch to IDLE state
|
||||
// after stop tracking switch to IDLE state
|
||||
|
||||
mount_ptr->dispatchEvent(MccGenericFsmMountIdleEvent{mount_ptr});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user