From 72f6934202707a30b003071f01f1683bf42c0826 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Thu, 6 Aug 2020 10:51:34 -0700 Subject: [PATCH] Fix a format/argument mismatch in a call to tfp_sprintf(). The call contained an extra argument for which there was no corresponding format specification. --- src/main/io/dashboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/io/dashboard.c b/src/main/io/dashboard.c index 384de9cde..4dabcf24c 100644 --- a/src/main/io/dashboard.c +++ b/src/main/io/dashboard.c @@ -421,7 +421,7 @@ static void showGpsPage(void) i2c_OLED_set_line(bus, rowIndex); i2c_OLED_send_string(bus, lineBuffer); - tfp_sprintf(lineBuffer, "ERRs: %d", gpsData.errors, gpsData.timeouts); + tfp_sprintf(lineBuffer, "ERRs: %d", gpsData.errors); padHalfLineBuffer(); i2c_OLED_set_xy(bus, HALF_SCREEN_CHARACTER_COLUMN_COUNT, rowIndex++); i2c_OLED_send_string(bus, lineBuffer);