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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {