mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: make correct_offboard_timestamp_usec_to_ms protected
for use by vehicle code
This commit is contained in:
parent
f9f8822e47
commit
9466e7e71e
|
@ -511,6 +511,12 @@ protected:
|
|||
|
||||
void manual_override(RC_Channel *c, int16_t value_in, uint16_t offset, float scaler, const uint32_t tnow, bool reversed = false);
|
||||
|
||||
/*
|
||||
correct an offboard timestamp in microseconds to a local time
|
||||
since boot in milliseconds
|
||||
*/
|
||||
uint32_t correct_offboard_timestamp_usec_to_ms(uint64_t offboard_usec, uint16_t payload_size);
|
||||
|
||||
private:
|
||||
|
||||
// last time we got a non-zero RSSI from RADIO_STATUS
|
||||
|
@ -791,12 +797,6 @@ private:
|
|||
|
||||
void lock_channel(const mavlink_channel_t chan, bool lock);
|
||||
|
||||
/*
|
||||
correct an offboard timestamp in microseconds to a local time
|
||||
since boot in milliseconds
|
||||
*/
|
||||
uint32_t correct_offboard_timestamp_usec_to_ms(uint64_t offboard_usec, uint16_t payload_size);
|
||||
|
||||
mavlink_signing_t signing;
|
||||
static mavlink_signing_streams_t signing_streams;
|
||||
static uint32_t last_signing_save_ms;
|
||||
|
|
Loading…
Reference in New Issue