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.
This commit is contained in:
John Polstra 2020-08-06 10:51:34 -07:00
parent b1af9befe5
commit 72f6934202
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ static void showGpsPage(void)
i2c_OLED_set_line(bus, rowIndex); i2c_OLED_set_line(bus, rowIndex);
i2c_OLED_send_string(bus, lineBuffer); i2c_OLED_send_string(bus, lineBuffer);
tfp_sprintf(lineBuffer, "ERRs: %d", gpsData.errors, gpsData.timeouts); tfp_sprintf(lineBuffer, "ERRs: %d", gpsData.errors);
padHalfLineBuffer(); padHalfLineBuffer();
i2c_OLED_set_xy(bus, HALF_SCREEN_CHARACTER_COLUMN_COUNT, rowIndex++); i2c_OLED_set_xy(bus, HALF_SCREEN_CHARACTER_COLUMN_COUNT, rowIndex++);
i2c_OLED_send_string(bus, lineBuffer); i2c_OLED_send_string(bus, lineBuffer);