forked from espressif/esp-idf
feat(wifi_prov): Ensure not all security versions are disabled at same time
Disabling all the protocomm security versions give empty enum value build error. Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default Note - Disabling the protocomm security 0 by default
This commit is contained in:
committed by
Mahavir Jain
parent
ea57c1b491
commit
06beaefa88
@ -234,6 +234,9 @@ typedef enum wifi_prov_security {
|
|||||||
*/
|
*/
|
||||||
WIFI_PROV_SECURITY_2 = 2
|
WIFI_PROV_SECURITY_2 = 2
|
||||||
#endif
|
#endif
|
||||||
|
#if !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
|
||||||
|
#error "All of the protocomm security versions are disabled. Make sure to enable at least one security version."
|
||||||
|
#endif
|
||||||
} wifi_prov_security_t;
|
} wifi_prov_security_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user