mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
More fixes to time types
This commit is contained in:
parent
e7dd693dd5
commit
adaef0da5a
28 changed files with 99 additions and 95 deletions
|
@ -69,15 +69,15 @@ void warningLedRefresh(void)
|
|||
break;
|
||||
}
|
||||
|
||||
uint32_t now = micros();
|
||||
timeUs_t now = micros();
|
||||
warningLedTimer = now + 500000;
|
||||
}
|
||||
|
||||
void warningLedUpdate(void)
|
||||
{
|
||||
uint32_t now = micros();
|
||||
timeUs_t now = micros();
|
||||
|
||||
if ((int32_t)(now - warningLedTimer) < 0) {
|
||||
if ((timeDelta_t)(now - warningLedTimer) < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue