AP_HAL: removed native_millis/micros

This commit is contained in:
Andrew Tridgell 2023-08-22 11:41:15 +10:00 committed by Peter Barker
parent 39153a1c01
commit 6a54c5e952
2 changed files with 1 additions and 7 deletions

View File

@ -77,7 +77,7 @@ int16_t AP_HAL::CANIface::send(const CANFrame& frame, uint64_t tx_deadline, CanI
} else {
CanRxItem rx_item;
rx_item.frame = frame;
rx_item.timestamp_us = AP_HAL::native_micros64();
rx_item.timestamp_us = AP_HAL::micros64();
rx_item.flags = AP_HAL::CANIface::IsMAVCAN;
add_to_rx_queue(rx_item);
}

View File

@ -19,12 +19,6 @@ uint16_t millis16();
uint64_t micros64();
uint64_t millis64();
uint32_t native_micros();
uint32_t native_millis();
uint16_t native_millis16();
uint64_t native_micros64();
uint64_t native_millis64();
void dump_stack_trace();
void dump_core_file();