From 255c51174a0571340ef470184064a5c75d261d27 Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期三, 22 一月 2025 15:06:27 +0800
Subject: [PATCH] 加入一开始不广播升级    中断触发gpio后广播升级  10分钟自动退出

---
 01_SDK/nimble/samples/bluetooth/ble_central_periph_ota/src/main.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/01_SDK/nimble/samples/bluetooth/ble_central_periph_ota/src/main.c b/01_SDK/nimble/samples/bluetooth/ble_central_periph_ota/src/main.c
index 8882bd8..42016cc 100644
--- a/01_SDK/nimble/samples/bluetooth/ble_central_periph_ota/src/main.c
+++ b/01_SDK/nimble/samples/bluetooth/ble_central_periph_ota/src/main.c
@@ -22,10 +22,10 @@
 	 *  If the user is using the main thread, you need to enable the following code 
 	 *  and add the user's processing logic to the "loop()" function.
 	 */
-#if 0
-	while(1)
-	{
-		loop();
-	}
-#endif
+
+//	while(1)
+//	{
+//      POLL();
+//	}
+
 }

--
Gitblit v1.9.3