mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Fixed tests.
This commit is contained in:
parent
d401e3bbbe
commit
e75eaf85ce
2 changed files with 3 additions and 1 deletions
|
@ -386,6 +386,6 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = {};
|
|||
|
||||
bool isArmingDisabled(void) { return false; }
|
||||
|
||||
uint16_t getRssi(void) { return 0; }
|
||||
uint8_t getRssiPercent(void) { return 0; }
|
||||
|
||||
}
|
||||
|
|
|
@ -1015,6 +1015,8 @@ extern "C" {
|
|||
|
||||
uint16_t getRssi(void) { return rssi; }
|
||||
|
||||
uint8_t getRssiPercent(void) { return rssi * 100 / 1024; }
|
||||
|
||||
uint16_t getCoreTemperatureCelsius(void) { return simulationCoreTemperature; }
|
||||
|
||||
bool isFlipOverAfterCrashMode(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue