ardupilot/libraries/AP_HAL/system.cpp
Peter Barker c3a99c8eb0 AP_HAL: move dump_strack_trace into HAL
Use a weak definition to allow subclasses to override
2019-06-13 09:25:42 +10:00

12 lines
179 B
C++

#include "system.h"
uint16_t WEAK AP_HAL::millis16()
{
return millis() & 0xFFFF;
}
void WEAK AP_HAL::dump_stack_trace()
{
// stack dump not available on this platform
}