Skip to content

Commit cf55b87

Browse files
committed
Display SIV during test screen
1 parent 0825695 commit cf55b87

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Firmware/RTK_Surveyor/Display.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,10 +1299,14 @@ void displayTest()
12991299

13001300
oled.setCursor(xOffset, yOffset + (3 * charHeight) ); //x, y
13011301
oled.print(F("GNSS:"));
1302-
if (online.gnss == true)
1302+
int satsInView = i2cGNSS.getSIV();
1303+
1304+
if (online.gnss == true && satsInView > 8)
13031305
oled.print(F("OK"));
13041306
else
13051307
oled.print(F("FAIL"));
1308+
oled.print(F("/"));
1309+
oled.print(satsInView);
13061310

13071311
oled.setCursor(xOffset, yOffset + (4 * charHeight) ); //x, y
13081312
oled.print(F("Mux:"));

0 commit comments

Comments
 (0)