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:
parent
b54174c77e
commit
ddf1d46549
57 changed files with 119 additions and 117 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue