mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11834 from kivaisan/fix_wifi_unsecure_test_check
Fix flag checks to allow disabling unsecure testspull/11842/head
commit
1e43a181ec
|
|
@ -34,15 +34,15 @@
|
|||
!defined(MBED_CONF_APP_WIFI_CH_SECURE) || \
|
||||
!defined(MBED_CONF_APP_WIFI_PASSWORD) || \
|
||||
!defined(MBED_CONF_APP_WIFI_SECURE_SSID) || \
|
||||
!defined MBED_CONF_APP_WIFI_SECURE_PROTOCOL)
|
||||
!defined(MBED_CONF_APP_WIFI_SECURE_PROTOCOL))
|
||||
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json (for secure connections)
|
||||
#else
|
||||
|
||||
#if defined(MBED_CONF_APP_WIFI_UNSECURE_SSID) && \
|
||||
!defined(MBED_CONF_APP_AP_MAC_UNSECURE) || \
|
||||
(!defined(MBED_CONF_APP_AP_MAC_UNSECURE) || \
|
||||
!defined(MBED_CONF_APP_MAX_SCAN_SIZE) || \
|
||||
!defined(MBED_CONF_APP_WIFI_CH_UNSECURE) || \
|
||||
!defined(MBED_CONF_APP_WIFI_UNSECURE_SSID)
|
||||
!defined(MBED_CONF_APP_WIFI_UNSECURE_SSID))
|
||||
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json (for unsecure connections)
|
||||
#else
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue