Report: switching an Ultra (ZS405) on showed a momentary all white screen, an Ultra+ (ZS406, ZS407) did not. - The backlight came on before ili9341_init(), so the panel was lit in reset and during its init; the ZS405 panel shows white then (the ZS406/ZS407 panels, the ones with display inversion, stay black). It now comes on at DEFAULT_BRIGHTNESS once the screen is cleared. - That left a very brief flash: the backlight came on before the panel had settled. The init now waits the 120 ms the controller needs after SLEEP_OUT before DISPLAY_ON (LCD_WAKE_UP_MS). Only with __LCD_BRIGHTNESS__: without backlight control a longer wait would only show the uninitialised panel longer, so the BASIC is unchanged. Tested on a ZS405 (HW V0.4.5.1) with the ST-Link: DAC2 at 0 darkens the backlight, the backlight is dark with the CPU held in reset, the backlight switched on 2 s after the init shows no flash, and with this build power-ons show no flash. Start-up 120 ms longer; ULTRA +12 bytes, BASIC binary unchanged in size. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>copilot/add-multi-platform-rf-scan-exports
parent
4bfb7558dc
commit
21a6f96e2e
Loading…
Reference in new issue