From d9ee5a29b97dbdc7773c0b29b04d247fefac1220 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Fri, 24 May 2019 11:59:10 +0200 Subject: [PATCH] [ion/device/display] Send gamma calibration on panel 0x4E4101 --- ion/src/device/shared/drivers/display.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ion/src/device/shared/drivers/display.cpp b/ion/src/device/shared/drivers/display.cpp index 6c0625a1b..7300eda4f 100644 --- a/ion/src/device/shared/drivers/display.cpp +++ b/ion/src/device/shared/drivers/display.cpp @@ -93,6 +93,13 @@ static inline void send_command(Command c, Args... d) { send_data(d...); } +static void send_long_command(Command c, int length, const uint8_t * data) { + send_command(c); + for (int i=0; i