projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4619d64
)
恢复出厂设置中添加bluetooth_factory_reset函数
author
SnickerSun
<snickersun@163.com>
Fri, 14 Jun 2024 10:03:56 +0000
(18:03 +0800)
committer
SnickerSun
<snickersun@163.com>
Fri, 14 Jun 2024 10:03:56 +0000
(18:03 +0800)
code/sdk/drivers/peripheral/utils/custom_utils.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/utils/custom_utils.c
b/code/sdk/drivers/peripheral/utils/custom_utils.c
index
3599b05
..
6131fc9
100644
(file)
--- a/
code/sdk/drivers/peripheral/utils/custom_utils.c
+++ b/
code/sdk/drivers/peripheral/utils/custom_utils.c
@@
-1737,6
+1737,9
@@
void uapi_restore_factory_setting(void)
};
for(int i = 0; i < 2; i++)
uapi_delete_files(filebuf[i]);
+
+ bluetooth_factory_reset();
+
uapi_reboot_device();
}