...
This commit is contained in:
@@ -1100,7 +1100,8 @@ protected:
|
||||
} else if (input_msg.withKey(MCC_COMMPROTO_KEYWORD_TELEMETRY_STR)) {
|
||||
MccTelemetryData tdata;
|
||||
|
||||
auto t_err = mount_ptr->telemetryData(&tdata);
|
||||
// auto t_err = mount_ptr->telemetryData(&tdata);
|
||||
auto t_err = mount_ptr->waitForTelemetryData(&tdata);
|
||||
if (t_err) {
|
||||
err = mcc_deduce_error_code(t_err, MccGenericMountNetworkServerErrorCode::ERROR_MOUNT_GET_TELEMETRY);
|
||||
} else {
|
||||
@@ -1150,7 +1151,8 @@ protected:
|
||||
{
|
||||
MccTelemetryData tdata;
|
||||
|
||||
auto t_err = mount.telemetryData(&tdata);
|
||||
auto t_err = mount.waitForTelemetryData(&tdata);
|
||||
// auto t_err = mount.telemetryData(&tdata);
|
||||
if (t_err) {
|
||||
return mcc_deduce_error_code(t_err, MccGenericMountNetworkServerErrorCode::ERROR_MOUNT_GET_TELEMETRY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user