mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
feat(esp8266): Move the define os STATUS to esp_sta.h
This commit is contained in:
@ -63,15 +63,6 @@ typedef double real64;
|
||||
|
||||
#define __le16 u16
|
||||
|
||||
/* probably should not put STATUS here */
|
||||
typedef enum {
|
||||
OK = 0,
|
||||
FAIL,
|
||||
PENDING,
|
||||
BUSY,
|
||||
CANCEL,
|
||||
} STATUS;
|
||||
|
||||
#define BIT(nr) (1UL << (nr))
|
||||
|
||||
#define REG_WRITE(_r, _v) (*(volatile uint32 *)(_r)) = (_v)
|
||||
|
@ -202,6 +202,14 @@ struct bss_info {
|
||||
uint32_t reserved:28; /**< bit: 4..31 reserved */
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
OK = 0,
|
||||
FAIL,
|
||||
PENDING,
|
||||
BUSY,
|
||||
CANCEL,
|
||||
} STATUS;
|
||||
|
||||
/**
|
||||
* @brief Callback function for wifi_station_scan.
|
||||
*
|
||||
|
Reference in New Issue
Block a user