fix: Add full-screen clear after GC9A01 init + diagnostic log
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bdc69c87d8
commit
a41c62440c
@ -192,7 +192,13 @@ void gc9a01_init(void)
|
||||
|
||||
/* Backlight on */
|
||||
gpio_set_level(DISP_BL_GPIO, 1);
|
||||
ESP_LOGI(TAG, "GC9A01 init OK");
|
||||
|
||||
/* Clear screen to black */
|
||||
display_fill_rect(0, 0, 240, 240, 0x0000);
|
||||
|
||||
ESP_LOGI(TAG, "GC9A01 init OK: DC=%d CS=%d SCK=%d MOSI=%d RST=%d BL=%d",
|
||||
DISP_DC_GPIO, DISP_CS_GPIO, DISP_SCK_GPIO, DISP_MOSI_GPIO,
|
||||
DISP_RST_GPIO, DISP_BL_GPIO);
|
||||
}
|
||||
|
||||
/* ── display_fill_rect ── */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user