1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

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

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);