fix(README): 修正文档中协议字段链接路径
fix(main): 修正主循环中延时以保持程序运行
This commit is contained in:
@@ -23,6 +23,9 @@ int main(void) {
|
||||
ble_transport_adv_start();
|
||||
|
||||
if (sensor_init()) return 0;
|
||||
while (1) {
|
||||
k_sleep(K_SECONDS(1));
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user