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)