3djc/gps display fixes (#4852)

* Remove top GPS coord display on X7 sensor edit (not enough space for it)

* Improve GPS coord display on X9
This commit is contained in:
3djc
2017-04-25 12:06:40 +02:00
committed by Bertrand Songis
parent c15a86dc19
commit be20e90630
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -127,7 +127,8 @@ bool displayNumbersTelemetryScreen(FrSkyScreenData & screen)
}
}
else if (field >= MIXSRC_FIRST_TELEM && isGPSSensor(1+(field-MIXSRC_FIRST_TELEM)/3) && telemetryItems[(field-MIXSRC_FIRST_TELEM)/3].isAvailable()) {
// we don't display GPS name, no space for it
// we don't display GPS name, no space for it, but we shift x by some pixel to allow it to fit on max coord
x -=2;
}
else {
drawSource(pos[j], 1+FH+2*FH*i, field, 0);