mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-17 11:54:24 +08:00
feat(example): Add "BIT0" to example instead of "1 << 0"
This commit is contained in:
@ -40,7 +40,7 @@ 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? */
|
||||
const int CONNECTED_BIT = 1 << 0;
|
||||
const int CONNECTED_BIT = BIT0;
|
||||
|
||||
#if CONFIG_CERT_AUTH
|
||||
extern const uint8_t server_root_cert_pem_start[] asm("_binary_server_root_cert_pem_start");
|
||||
|
Reference in New Issue
Block a user