mirror of
https://github.com/tsl0922/EPD-nRF5.git
synced 2026-05-10 01:04:02 +08:00
fix sys config reset
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -859,7 +859,7 @@
|
||||
<OCR_RVCT4>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x18000</StartAddress>
|
||||
<Size>0x18000</Size>
|
||||
<Size>0x8000</Size>
|
||||
</OCR_RVCT4>
|
||||
<OCR_RVCT5>
|
||||
<Type>1</Type>
|
||||
@@ -896,7 +896,7 @@
|
||||
</ArmAdsMisc>
|
||||
<Cads>
|
||||
<interw>1</interw>
|
||||
<Optim>1</Optim>
|
||||
<Optim>4</Optim>
|
||||
<oTime>0</oTime>
|
||||
<SplitLS>0</SplitLS>
|
||||
<OneElfS>1</OneElfS>
|
||||
|
||||
Reference in New Issue
Block a user