mirror of
https://github.com/jam422470459/EPD-nRF52-hema213.git
synced 2025-12-07 00:52:49 +08:00
add clear without refresh support
This commit is contained in:
@@ -115,7 +115,7 @@ static void epd_service_on_write(ble_epd_t * p_epd, uint8_t * p_data, uint16_t l
|
||||
|
||||
case EPD_CMD_CLEAR:
|
||||
p_epd->display_mode = MODE_NONE;
|
||||
p_epd->epd->drv->clear();
|
||||
p_epd->epd->drv->clear(length > 1 ? p_data[1] : true);
|
||||
break;
|
||||
|
||||
case EPD_CMD_SEND_COMMAND:
|
||||
|
||||
Reference in New Issue
Block a user