From 39bda6067f60521f3979e00382e4c3987754fb02 Mon Sep 17 00:00:00 2001 From: wangfq Date: Fri, 3 Jul 2026 18:28:40 +0800 Subject: [PATCH] fix(vd960DBN): add missing closing brace for case PUBLISH block in iot_process_recv case PUBLISH: { ... } was missing its closing }, causing ARMCC to think iot_send_heartbeat and iot_connect_broker were declared inside a function body. --- vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c index 21c1c45..ef22f5a 100644 --- a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c +++ b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c @@ -348,6 +348,7 @@ static void iot_process_recv(void) { } } break; + } case PINGRESP: PRINT("IOT: ← PINGRESP\n");