mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
make bufer 1 byte to avoid the
buffer allocation error
This commit is contained in:
parent
4a7ff4135c
commit
3a3fc2dd98
@ -122,7 +122,7 @@ void HOT ili9341::draw_absolute_pixel_internal(int x, int y, int color) {
|
||||
|
||||
// should return the total size: return this->get_width_internal() * this->get_height_internal() * 2 // 16bit color
|
||||
// values per bit is huge
|
||||
uint32_t ili9341::get_buffer_length_() { return 0; }
|
||||
uint32_t ili9341::get_buffer_length_() { return 1; }
|
||||
|
||||
void ili9341::start_command_() {
|
||||
this->dc_pin_->digital_write(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user