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:
Michael Keller 2020-08-13 21:09:50 +12:00 committed by GitHub
commit 968e72fae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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_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);