ardupilot/libraries/AP_HAL/system.cpp
Peter Barker 8a0e3dd657 AP_HAL: add millis16 to HAL; provide weak implementation
This wraps every minute or so - but if you only need to track intervals
under ~65 seconds could save RAM
2018-12-10 12:52:41 +09:00

7 lines
88 B
C++

#include "system.h"
uint16_t WEAK AP_HAL::millis16()
{
return millis() & 0xFFFF;
}