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:
parent
b1af9befe5
commit
72f6934202
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue