Skip to content

Commit 978115f

Browse files
committed
Better splash display
1 parent a43b53e commit 978115f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Firmware/GNSSDO_Firmware/Begin.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ void pinI2C1Task(void *pvParameters)
407407
}
408408

409409
case 0x3d: {
410-
systemPrintf("0x%02x - SSD1306 (64x48) OLED Driver\r\n", addr);
410+
systemPrintf("0x%02x - SSD1306 OLED Driver\r\n", addr);
411411
i2cDisplay = i2c_1;
412412
break;
413413
}

Firmware/GNSSDO_Firmware/Display.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void displaySplash()
206206

207207
oled->erase();
208208

209-
int yPos = 0;
209+
uint8_t yPos = (oled->getHeight() - 36) / 2;
210210

211211
printTextCenter("SparkPNT", yPos, QW_FONT_8X16, 1, false); // text, y, font type, kerning, inverted
212212

0 commit comments

Comments
 (0)