hal_led: Explicitly convert RTW_LED_OFF to enum type LED_CTL_MODE

pull/554/head
kimocoder 2020-02-01 09:25:43 +01:00
parent 6ac6fc9530
commit 6059390bcf
1 changed files with 1 additions and 1 deletions

View File

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