...
This commit is contained in:
@@ -1089,7 +1089,7 @@ protected:
|
|||||||
if (vc) { // set operation
|
if (vc) { // set operation
|
||||||
auto m_err = mount_ptr->setPointingTarget(vc.value());
|
auto m_err = mount_ptr->setPointingTarget(vc.value());
|
||||||
if (m_err) {
|
if (m_err) {
|
||||||
err = mcc_deduce_err(m_err, MccGenericMountNetworkServerErrorCode::ERROR_MOUNT_SET_TARGET);
|
err = mcc_deduced_err(m_err, MccGenericMountNetworkServerErrorCode::ERROR_MOUNT_SET_TARGET);
|
||||||
} else {
|
} else {
|
||||||
output_msg.construct(MCC_COMMPROTO_KEYWORD_SERVER_ACK_STR, input_msg.byteRepr());
|
output_msg.construct(MCC_COMMPROTO_KEYWORD_SERVER_ACK_STR, input_msg.byteRepr());
|
||||||
}
|
}
|
||||||
@@ -1183,7 +1183,7 @@ protected:
|
|||||||
|
|
||||||
auto t_err = mount->telemetryData(&tdata);
|
auto t_err = mount->telemetryData(&tdata);
|
||||||
if (t_err) {
|
if (t_err) {
|
||||||
return mcc_deduce_err(t_err, MccGenericMountNetworkServerErrorCode::ERROR_MOUNT_GET_TELEMETRY);
|
return mcc_deduced_err(t_err, MccGenericMountNetworkServerErrorCode::ERROR_MOUNT_GET_TELEMETRY);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto get_coords = [&]<mcc_coord_pair_c T>(T& cp) -> std::error_code {
|
auto get_coords = [&]<mcc_coord_pair_c T>(T& cp) -> std::error_code {
|
||||||
|
|||||||
Reference in New Issue
Block a user