1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

display: fix white screen on binary displays (#4991)

This commit is contained in:
Kamil Trzciński
2023-06-22 21:18:29 +02:00
committed by GitHub
parent 52d7d2cae7
commit 85608a8ab7

View File

@@ -12,7 +12,7 @@ namespace display {
static const char *const TAG = "display";
const Color COLOR_OFF(0, 0, 0, 255);
const Color COLOR_OFF(0, 0, 0, 0);
const Color COLOR_ON(255, 255, 255, 255);
void DisplayBuffer::init_internal_(uint32_t buffer_length) {