Improves LED control

This commit is contained in:
ivanovborislav 2021-12-01 23:37:29 +02:00 committed by ivanovborislav
parent 98c9539029
commit 6b8e19424a
1 changed files with 0 additions and 12 deletions

View File

@ -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: