mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
feat(example): Add "BIT0" to example instead of "1 << 0"
This commit is contained in:
@ -26,8 +26,8 @@ static EventGroupHandle_t wifi_event_group;
|
||||
/* The event group allows multiple bits for each event,
|
||||
but we only care about one event - are we connected
|
||||
to the AP with an IP? */
|
||||
static const int CONNECTED_BIT = 1<<0;
|
||||
static const int ESPTOUCH_DONE_BIT = 1<<1;
|
||||
static const int CONNECTED_BIT = BIT0;
|
||||
static const int ESPTOUCH_DONE_BIT = BIT1;
|
||||
static const char *TAG = "sc";
|
||||
|
||||
void smartconfig_example_task(void * parm);
|
||||
|
Reference in New Issue
Block a user