mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: removed native_millis/micros
This commit is contained in:
parent
39153a1c01
commit
6a54c5e952
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue