From 37d4e88a3d81f3ad05c294ad98f9e1b856f4b789 Mon Sep 17 00:00:00 2001 From: Michael Boulding Date: Tue, 14 Feb 2023 20:58:55 +0000 Subject: [PATCH] Update example to use Color::BLACK not COLOR_BLACK (#2670) COLOR_BLACK now generates a deprecation warning, update the example to use the recommended name. --- components/display/ili9341.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/display/ili9341.rst b/components/display/ili9341.rst index 07e86feb0..6225a6891 100644 --- a/components/display/ili9341.rst +++ b/components/display/ili9341.rst @@ -35,7 +35,7 @@ beyond the typical SPI connections, it is better suited for use with the ESP32. reset_pin: 33 lambda: |- - it.fill(COLOR_BLACK); + it.fill(Color::BLACK); it.print(0, 0, id(my_font), id(my_red), TextAlign::TOP_LEFT, "Hello World!"); Configuration variables: