Change COLOR_ON to be 255 values instead of 1 (#1594)

This commit is contained in:
Jesse Hills 2021-03-14 13:27:16 +13:00 committed by GitHub
parent 2e7c1d7345
commit 848a5f1680
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ namespace display {
static const char *TAG = "display"; static const char *TAG = "display";
const Color COLOR_OFF(0, 0, 0, 0); const Color COLOR_OFF(0, 0, 0, 0);
const Color COLOR_ON(1, 1, 1, 1); const Color COLOR_ON(255, 255, 255, 255);
void DisplayBuffer::init_internal_(uint32_t buffer_length) { void DisplayBuffer::init_internal_(uint32_t buffer_length) {
this->buffer_ = new uint8_t[buffer_length]; this->buffer_ = new uint8_t[buffer_length];