From 6059390bcfcbc957f59da9c4c436c7e02400baca Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 1 Feb 2020 09:25:43 +0100 Subject: [PATCH] hal_led: Explicitly convert RTW_LED_OFF to enum type LED_CTL_MODE --- hal/led/hal_led.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/led/hal_led.c b/hal/led/hal_led.c index 95d3daa..033d23b 100644 --- a/hal/led/hal_led.c +++ b/hal/led/hal_led.c @@ -63,7 +63,7 @@ void rtw_led_set_strategy(_adapter *adapter, u8 strategy) rtw_hal_sw_led_deinit(pri_adapter); #endif - rtw_led_control(pri_adapter, RTW_LED_OFF); + rtw_led_control(pri_adapter, (LED_CTL_MODE)RTW_LED_OFF); } #ifdef CONFIG_RTW_SW_LED