Merge pull request #10082 from SJChannel/tfp_sprintf-format-mismatch
Fix a format/argument mismatch in a call to tfp_sprintf()
This commit is contained in:
commit
968e72fae8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue