Browse Source

AP_RTC: use GCS_SEND_TEXT()

zr-sdk-4.1.16
Andrew Tridgell 5 years ago committed by binsir
parent
commit
1b79d134fa
  1. 2
      libraries/AP_RTC/AP_RTC.cpp

2
libraries/AP_RTC/AP_RTC.cpp

@ -74,8 +74,10 @@ void AP_RTC::set_utc_usec(uint64_t time_utc_usec, source_type type)
rtc_source_type = type; rtc_source_type = type;
#ifndef HAL_NO_GCS
// update signing timestamp // update signing timestamp
GCS_MAVLINK::update_signing_timestamp(time_utc_usec); GCS_MAVLINK::update_signing_timestamp(time_utc_usec);
#endif
} }
bool AP_RTC::get_utc_usec(uint64_t &usec) const bool AP_RTC::get_utc_usec(uint64_t &usec) const

Loading…
Cancel
Save