1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Remove old style definitions

This commit is contained in:
KarateBrot 2022-10-12 14:40:51 +02:00
parent b54174c77e
commit ddf1d46549
57 changed files with 119 additions and 117 deletions

View file

@ -179,7 +179,7 @@ typedef enum {
static rxState_e rxState = RX_STATE_CHECK;
bool taskUpdateRxMainInProgress()
bool taskUpdateRxMainInProgress(void)
{
return (rxState != RX_STATE_CHECK);
}
@ -310,8 +310,9 @@ static bool taskAltitudeCheck(timeUs_t currentTimeUs, timeDelta_t currentDeltaTi
return false;
}
static void taskCalculateAltitude()
static void taskCalculateAltitude(timeUs_t currentTimeUs)
{
UNUSED(currentTimeUs);
calculateEstimatedAltitude();
}
#endif // USE_BARO || USE_GPS