mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Replace deprecated COLOR_BLACK constant (#2487)
This commit is contained in:
parent
ea56a39e11
commit
039fbc677d
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ void ILI9341Display::fill(Color color) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ILI9341Display::fill_internal_(Color color) {
|
void ILI9341Display::fill_internal_(Color color) {
|
||||||
if (color.raw_32 == COLOR_BLACK.raw_32) {
|
if (color.raw_32 == Color::BLACK.raw_32) {
|
||||||
memset(transfer_buffer_, 0, sizeof(transfer_buffer_));
|
memset(transfer_buffer_, 0, sizeof(transfer_buffer_));
|
||||||
} else {
|
} else {
|
||||||
uint8_t *dst = transfer_buffer_;
|
uint8_t *dst = transfer_buffer_;
|
||||||
|
|
Loading…
Reference in a new issue