rtl8188eu: Convert "typdef enum LED_PIN_871x" to "enum LED_PIN_871x"

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-22 16:52:57 -05:00
parent 159c578e85
commit f29537124a
2 changed files with 5 additions and 7 deletions

View file

@ -71,15 +71,13 @@ void ResetLedStatus(PLED_871x pLed) {
pLed->bLedScanBlinkInProgress = false;
}
/* */
/* Description: */
/* Initialize an LED_871x object. */
/* */
void
InitLed871x(
_adapter *padapter,
PLED_871x pLed,
LED_PIN_871x LedPin
enum LED_PIN_871x LedPin
)
{
pLed->padapter = padapter;

View file

@ -93,18 +93,18 @@ enum LED_STATE_871x {
LED_BLINK_ALWAYS_ON = 16,
};
typedef enum _LED_PIN_871x{
enum LED_PIN_871x {
LED_PIN_NULL = 0,
LED_PIN_LED0 = 1,
LED_PIN_LED1 = 2,
LED_PIN_LED2 = 3,
LED_PIN_GPIO0 = 4,
}LED_PIN_871x;
};
typedef struct _LED_871x{
_adapter *padapter;
LED_PIN_871x LedPin; // Identify how to implement this SW led.
enum LED_PIN_871x LedPin; // Identify how to implement this SW led.
enum LED_STATE_871x CurrLedState; // Current LED state.
enum LED_STATE_871x BlinkingLedState; // Next state for blinking, either RTW_LED_ON or RTW_LED_OFF are.
@ -185,7 +185,7 @@ void
InitLed871x(
_adapter *padapter,
PLED_871x pLed,
LED_PIN_871x LedPin
enum LED_PIN_871x LedPin
);
void