Skip to content

Commit 85d153f

Browse files
committed
Bug fix: LED should be blue during smart config after Wi-Fi connection
1 parent c32a646 commit 85d153f

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

build/core-firmware.bin

0 Bytes
Binary file not shown.

build/core-firmware.elf

0 Bytes
Binary file not shown.

build/core-firmware.hex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@
528528
:1070E000FFF7BEFA00F5EA403030606010BD48F2AC
529529
:1070F0008003984207D0B0F5084F3CD048F2100208
530530
:10710000904249D120E025480121002301704170BF
531-
:10711000837010BD214CE2782AB1FFF7A1FA00F587
531+
:10711000837010BD214CE27862B1FFF7A1FA00F54F
532532
:10712000EA40303060604FF47F4003F089FAE72096
533533
:1071300003F002FB19490023CB700B724B728B7268
534534
:10714000CB720B734B7310BD087D144960B90122DB

src/spark_wlan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ void WLAN_Async_Callback(long lEventType, char *data, unsigned char length)
296296
case HCI_EVNT_WLAN_UNSOL_DISCONNECT:
297297
if (WLAN_CONNECTED) {
298298
ARM_WLAN_WD(DISCONNECT_TO_RECONNECT);
299+
LED_SetRGBColor(RGB_COLOR_GREEN);
300+
LED_On(LED_RGB);
299301
}
300-
LED_SetRGBColor(RGB_COLOR_GREEN);
301-
LED_On(LED_RGB);
302302
WLAN_CONNECTED = 0;
303303
WLAN_DHCP = 0;
304304
SPARK_CLOUD_SOCKETED = 0;

0 commit comments

Comments
 (0)