From ddfe42a139e930c965a61ecda613c1f45d390156 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Tue, 11 Feb 2025 23:16:43 +0800 Subject: [PATCH] fix sys config reset --- EPD/EPD_ble.c | 1 + Keil/EPD.uvprojx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/EPD/EPD_ble.c b/EPD/EPD_ble.c index c7a3961..f87b172 100644 --- a/EPD/EPD_ble.c +++ b/EPD/EPD_ble.c @@ -168,6 +168,7 @@ static void epd_service_process(ble_epd_t * p_epd, uint8_t * p_data, uint16_t le case EPD_CMD_CFG_ERASE: epd_config_clear(&p_epd->config); + nrf_delay_ms(10); // required NVIC_SystemReset(); break; diff --git a/Keil/EPD.uvprojx b/Keil/EPD.uvprojx index e3be889..3db5da7 100644 --- a/Keil/EPD.uvprojx +++ b/Keil/EPD.uvprojx @@ -859,7 +859,7 @@ 1 0x18000 - 0x18000 + 0x8000 1 @@ -896,7 +896,7 @@ 1 - 1 + 4 0 0 1