mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Change COLOR_ON to be 255 values instead of 1 (#1594)
This commit is contained in:
parent
2e7c1d7345
commit
848a5f1680
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue