esp32/modnetwork: Fix test for WIFI_AUTH_MAX for IDF v4.3.0.
Signed-off-by: marcidy <marcidy@gmail.com>
This commit is contained in:
parent
6a10d3ed99
commit
ac39960aa1
|
@ -212,7 +212,7 @@ STATIC mp_obj_t esp_phy_mode(size_t n_args, const mp_obj_t *args) {
|
|||
}
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(esp_phy_mode_obj, 0, 1, esp_phy_mode);
|
||||
|
||||
#if ESP_IDF_VERSION > ESP_IDF_VERSION_VAL(4, 3, 0)
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 3, 0)
|
||||
#define TEST_WIFI_AUTH_MAX 9
|
||||
#else
|
||||
#define TEST_WIFI_AUTH_MAX 8
|
||||
|
|
Loading…
Reference in New Issue