mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-07-02 04:11:45 +00:00
Merge pull request #43 from drkhsh/fix/boot-backlight
Boot: bring backlight up after first boot-screen frame
This commit is contained in:
@@ -564,6 +564,11 @@ void setup() {
|
||||
ui.lvStatusBar().setLoRaOnline(radioOnline);
|
||||
lvBootScreen.setProgress(0.45f, radioOnline ? "Radio online" : "Radio FAILED");
|
||||
|
||||
// Display::begin() left the backlight at 0 to hide an unpainted
|
||||
// framebuffer; the setProgress() above has now flushed the boot screen.
|
||||
// powerMgr at step 24 overrides with the user's configured value.
|
||||
display.setBrightness(128);
|
||||
|
||||
// Step 7: Touch HAL — GT911 I2C
|
||||
touch.begin();
|
||||
lvBootScreen.setProgress(0.50f, "Touch ready");
|
||||
|
||||
Reference in New Issue
Block a user