1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Fix unresolved references in unit tests for new failsafe code.

This commit is contained in:
Dominic Clifton 2015-04-16 10:57:27 +01:00
parent e51b1b4b14
commit 4b4e64e204
2 changed files with 5 additions and 1 deletions

View file

@ -418,6 +418,7 @@ int scaleRange(int x, int srcMin, int srcMax, int destMin, int destMax) {
return 0;
}
bool failsafeHasTimerElapsed(void) { return false; }
bool failsafeIsActive() { return false; }
bool rxIsReceivingSignal() { return true; }
}

View file

@ -711,6 +711,9 @@ void mwDisarm(void) {}
void displayDisablePageCycling() {}
void displayEnablePageCycling() {}
bool failsafeIsActive() { return false; }
bool rxIsReceivingSignal() { return true; }
uint8_t getCurrentControlRateProfile(void) {
return 0;
}