mirror of
https://github.com/jam422470459/EPD-nRF52-hema213.git
synced 2025-12-06 16:42:49 +08:00
drop 4gray support
This commit is contained in:
@@ -148,7 +148,7 @@ static void epd_service_process(ble_epd_t * p_epd, uint8_t * p_data, uint16_t le
|
||||
EPD_WriteData(&p_data[1], length - 1);
|
||||
break;
|
||||
|
||||
case EPD_CMD_DISPLAY:
|
||||
case EPD_CMD_REFRESH:
|
||||
p_epd->display_mode = MODE_NONE;
|
||||
p_epd->epd->drv->refresh();
|
||||
break;
|
||||
|
||||
@@ -60,7 +60,7 @@ enum EPD_CMDS
|
||||
EPD_CMD_CLEAR, /**< clear EPD screen */
|
||||
EPD_CMD_SEND_COMMAND, /**< send command to EPD */
|
||||
EPD_CMD_SEND_DATA, /**< send data to EPD */
|
||||
EPD_CMD_DISPLAY, /**< diaplay EPD ram on screen */
|
||||
EPD_CMD_REFRESH, /**< diaplay EPD ram on screen */
|
||||
EPD_CMD_SLEEP, /**< EPD enter sleep mode */
|
||||
|
||||
EPD_CMD_SET_TIME = 0x20, /** < set time with unix timestamp */
|
||||
|
||||
Reference in New Issue
Block a user