1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-28 16:12: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 Jesse Hills
parent df9fcf9850
commit a90d266017

View File

@@ -16,7 +16,7 @@ namespace display {
static const char *const TAG = "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); const Color COLOR_ON(255, 255, 255, 255);
void Rect::expand(int16_t horizontal, int16_t vertical) { void Rect::expand(int16_t horizontal, int16_t vertical) {