Skip to content

Commit

Permalink
esp32/modnetwork: Fix test for WIFI_AUTH_MAX for IDF v4.3.0.
Browse files Browse the repository at this point in the history
Signed-off-by: marcidy <marcidy@gmail.com>
  • Loading branch information
marcidy authored and dpgeorge committed Jan 21, 2022
1 parent 6a10d3e commit ac39960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/esp32/modnetwork.c
Expand Up @@ -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
Expand Down

0 comments on commit ac39960

Please sign in to comment.