From 6b8e19424aa3d2631baa4532dc4419be78ef7405 Mon Sep 17 00:00:00 2001 From: ivanovborislav <81085106+ivanovborislav@users.noreply.github.com> Date: Wed, 1 Dec 2021 23:37:29 +0200 Subject: [PATCH] Improves LED control --- hal/led/hal_usb_led.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hal/led/hal_usb_led.c b/hal/led/hal_usb_led.c index 03eaee6..a16baeb 100644 --- a/hal/led/hal_usb_led.c +++ b/hal/led/hal_usb_led.c @@ -1745,18 +1745,6 @@ void BlinkHandler(PLED_USB pLed) return; } - #ifdef CONFIG_RTW_SW_LED - /* Toggle LED state according to led_ctrl specified. */ - if (padapter->registrypriv.led_ctrl != 1) { - if (padapter->registrypriv.led_ctrl == 0) { - pLed->BlinkingLedState = RTW_LED_OFF; - } else { - pLed->BlinkingLedState = RTW_LED_ON; - } - pLed->CurrLedState = LED_UNKNOWN; - } - #endif - switch (ledpriv->LedStrategy) { #if CONFIG_RTW_SW_LED_TRX_DA_CLASSIFY case SW_LED_MODE_UC_TRX_ONLY: