mirror of
https://github.com/tsl0922/EPD-nRF5.git
synced 2025-12-10 16:18:12 +08:00
update JD79668 driver
This commit is contained in:
@@ -74,6 +74,8 @@ static void on_disconnect(ble_epd_t * p_epd, ble_evt_t * p_ble_evt)
|
||||
{
|
||||
UNUSED_PARAMETER(p_ble_evt);
|
||||
p_epd->conn_handle = BLE_CONN_HANDLE_INVALID;
|
||||
p_epd->epd->drv->sleep();
|
||||
nrf_delay_ms(200); // for sleep
|
||||
EPD_GPIO_Uninit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user