From b554f4e54c734179bacdf8c316b2f274d70db659 Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Wed, 30 Jul 2025 19:20:12 +0800 Subject: [PATCH] fix initial color of green in onjoinrequest --- LoRaWAN/App/lora_app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LoRaWAN/App/lora_app.c b/LoRaWAN/App/lora_app.c index 3c3e433..37bdd33 100644 --- a/LoRaWAN/App/lora_app.c +++ b/LoRaWAN/App/lora_app.c @@ -60,7 +60,7 @@ volatile uint8_t sts_reed_hall_result =0, sts_emergency_button_pushed=0; // init extern volatile uint8_t sts_work_mode, sts_cloud_netcolor, sts_lamp_bar_color, sts_status_color, sts_color_occupy_vacant, sts_color_severity_l2_l3; extern volatile uint8_t sts_lamp_bar_flashing_color; volatile uint8_t last_sts_lamp_bar_color=STS_DARK; -//extern volatile uint8_t sts_status_color, sts_lamp_bar_color, sts_color_occupy_vacant;//puColor + extern volatile uint8_t sts_rss_result; extern volatile uint8_t sts_rss_result_changed_flag, sts_hall1_changed_flag, sts_hall2_changed_flag, sts_reed_hall_changed_flag; volatile uint8_t sts_fall_detection_acc_threshold = 30, //0.3g @@ -1500,7 +1500,7 @@ static void OnJoinRequest(LmHandlerJoinParams_t *joinParams) { UTIL_TIMER_Stop(&JoinLedTimer); - sts_lamp_bar_color = STS_GREEN; + //sts_lamp_bar_color = STS_GREEN; #ifndef STM32WLE5xx HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET); /* LED_RED */