From 8cbc5a93bc5b10d0704a6ed2343818a5e2d1424f Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Wed, 6 Dec 2023 21:30:07 -0600 Subject: [PATCH] Add missed readBytes() in arduino_default common.cpp --- src/lgfx/v1/platforms/arduino_default/common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lgfx/v1/platforms/arduino_default/common.cpp b/src/lgfx/v1/platforms/arduino_default/common.cpp index 9e1eccf8..c222d126 100644 --- a/src/lgfx/v1/platforms/arduino_default/common.cpp +++ b/src/lgfx/v1/platforms/arduino_default/common.cpp @@ -90,6 +90,7 @@ namespace lgfx cpp::result endTransaction(int i2c_port) { return cpp::fail(error_t::unknown_err); } cpp::result writeBytes(int i2c_port, const uint8_t *data, size_t length) { return cpp::fail(error_t::unknown_err); } cpp::result readBytes(int i2c_port, uint8_t *data, size_t length) { return cpp::fail(error_t::unknown_err); } + cpp::result readBytes(int i2c_port, uint8_t *data, size_t length, bool last_nack) { return cpp::fail(error_t::unknown_err); } //--------