mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Fixed tests, replaced hyphen with NC
This commit is contained in:
parent
aad83f5705
commit
c56d81457f
3 changed files with 3 additions and 1 deletions
|
@ -1058,7 +1058,7 @@ static void osdElementGpsCoordinate(osdElementParms_t *element)
|
|||
static void osdElementGpsSats(osdElementParms_t *element)
|
||||
{
|
||||
if (!gpsIsHealthy()) {
|
||||
tfp_sprintf(element->buff, "%c%c%c", SYM_SAT_L, SYM_SAT_R, SYM_HYPHEN);
|
||||
tfp_sprintf(element->buff, "%c%cNC", SYM_SAT_L, SYM_SAT_R);
|
||||
} else {
|
||||
int pos = tfp_sprintf(element->buff, "%c%c%2d", SYM_SAT_L, SYM_SAT_R, gpsSol.numSat);
|
||||
if (osdConfig()->gps_sats_show_hdop) { // add on the GPS module HDOP estimate
|
||||
|
|
|
@ -445,6 +445,7 @@ extern "C" {
|
|||
bool areMotorsRunning(void){ return true; }
|
||||
bool pidOsdAntiGravityActive(void) { return false; }
|
||||
bool failsafeIsActive(void) { return false; }
|
||||
bool gpsIsHealthy(void) { return true; }
|
||||
bool gpsRescueIsConfigured(void) { return false; }
|
||||
int8_t calculateThrottlePercent(void) { return 0; }
|
||||
uint32_t persistentObjectRead(persistentObjectId_e) { return 0; }
|
||||
|
|
|
@ -1242,6 +1242,7 @@ extern "C" {
|
|||
bool pidOsdAntiGravityActive(void) { return false; }
|
||||
bool failsafeIsActive(void) { return false; }
|
||||
bool gpsRescueIsConfigured(void) { return false; }
|
||||
bool gpsIsHealthy(void) { return true; }
|
||||
int8_t calculateThrottlePercent(void) { return 0; }
|
||||
uint32_t persistentObjectRead(persistentObjectId_e) { return 0; }
|
||||
void persistentObjectWrite(persistentObjectId_e, uint32_t) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue