mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 20:43:40 +00:00
rtl8188eu: Convert typedef enum LED_STATE_871x to enum LED_STATE_871x
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9d0ff170d0
commit
159c578e85
1 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@ enum LED_CTL_MODE {
|
||||||
LED_CTL_CONNECTION_NO_TRANSFER = 14,
|
LED_CTL_CONNECTION_NO_TRANSFER = 14,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum _LED_STATE_871x{
|
enum LED_STATE_871x {
|
||||||
LED_UNKNOWN = 0,
|
LED_UNKNOWN = 0,
|
||||||
RTW_LED_ON = 1,
|
RTW_LED_ON = 1,
|
||||||
RTW_LED_OFF = 2,
|
RTW_LED_OFF = 2,
|
||||||
|
@ -91,7 +91,7 @@ typedef enum _LED_STATE_871x{
|
||||||
LED_BLINK_CAMEO = 14,
|
LED_BLINK_CAMEO = 14,
|
||||||
LED_BLINK_XAVI = 15,
|
LED_BLINK_XAVI = 15,
|
||||||
LED_BLINK_ALWAYS_ON = 16,
|
LED_BLINK_ALWAYS_ON = 16,
|
||||||
}LED_STATE_871x;
|
};
|
||||||
|
|
||||||
typedef enum _LED_PIN_871x{
|
typedef enum _LED_PIN_871x{
|
||||||
LED_PIN_NULL = 0,
|
LED_PIN_NULL = 0,
|
||||||
|
@ -105,8 +105,8 @@ typedef struct _LED_871x{
|
||||||
_adapter *padapter;
|
_adapter *padapter;
|
||||||
|
|
||||||
LED_PIN_871x LedPin; // Identify how to implement this SW led.
|
LED_PIN_871x LedPin; // Identify how to implement this SW led.
|
||||||
LED_STATE_871x CurrLedState; // Current LED state.
|
enum LED_STATE_871x CurrLedState; // Current LED state.
|
||||||
LED_STATE_871x BlinkingLedState; // Next state for blinking, either RTW_LED_ON or RTW_LED_OFF are.
|
enum LED_STATE_871x BlinkingLedState; // Next state for blinking, either RTW_LED_ON or RTW_LED_OFF are.
|
||||||
|
|
||||||
u8 bLedOn; // true if LED is ON, false if LED is OFF.
|
u8 bLedOn; // true if LED is ON, false if LED is OFF.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue