mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: implement 'uint16_t millis16'
This commit is contained in:
parent
0519949e21
commit
8cfedd8b46
|
@ -159,6 +159,11 @@ uint32_t millis()
|
|||
return hrt_millis32();
|
||||
}
|
||||
|
||||
uint16_t millis16()
|
||||
{
|
||||
return hrt_millis32() & 0xFFFF;
|
||||
}
|
||||
|
||||
uint64_t micros64()
|
||||
{
|
||||
return hrt_micros64();
|
||||
|
|
Loading…
Reference in New Issue