From 4d9faf27b7130196934c9cbbe341be17fe5973df Mon Sep 17 00:00:00 2001 From: imi415 Date: Sat, 16 Jan 2021 21:51:49 +0800 Subject: [PATCH] Do not update display automatically after frame uploading. --- depg0213_epd.c | 2 -- depg0213_epd.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/depg0213_epd.c b/depg0213_epd.c index f4047d5..35a1610 100644 --- a/depg0213_epd.c +++ b/depg0213_epd.c @@ -167,8 +167,6 @@ depg0213_ret_t depg0213_epd_load(depg0213_epd_t *epd, uint8_t *bw_image, uint8_t DEPG0213_ERROR_CHECK(epd->cb.write_cmd_cb(epd->user_data, &wr_command, 0x01)); DEPG0213_ERROR_CHECK(epd->cb.write_data_cb(epd->user_data, red_image, 2756)); // 104 / 8 * 212 - DEPG0213_ERROR_CHECK(depg0213_epd_update(epd)); - return DEPG0213_OK; } diff --git a/depg0213_epd.h b/depg0213_epd.h index 502f4cd..0569e0d 100644 --- a/depg0213_epd.h +++ b/depg0213_epd.h @@ -5,7 +5,9 @@ #define DEPG0213_PANEL_SELECTION depg0213_dke_init_sequence +#ifndef DEPG0213_LUT_OTP #define DEPG0213_LUT_OTP 0 +#endif #if(!DEPG0213_LUT_OTP)