From 87a72e4dfe57098516234fac3d7fef294287e7c1 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Sun, 19 Dec 2021 07:39:46 +0100 Subject: [PATCH] cpu/esp: revert the change for ESP_WIFI_PASS define Previously, a default value for ESP_WIFI_PASS was intentionally defined only if DOXYGEN was also defined, to allow ESP_WIFI_PASS to be left undefined for using APs without authentication. With PR #17415 the definition was changed to always define a default value for EPS_WIFI_PASS. This made it impossible to use APs without authentication. The commit reverts this change. --- cpu/esp_common/esp-wifi/esp_wifi_params.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp_common/esp-wifi/esp_wifi_params.h b/cpu/esp_common/esp-wifi/esp_wifi_params.h index 63131dee65..60c30ac1b9 100644 --- a/cpu/esp_common/esp-wifi/esp_wifi_params.h +++ b/cpu/esp_common/esp-wifi/esp_wifi_params.h @@ -51,7 +51,7 @@ /** * @brief Passphrase used for the AP as clear text (max. 64 chars). */ -#ifndef ESP_WIFI_PASS +#ifdef DOXYGEN #define ESP_WIFI_PASS "ThisistheRIOTporttoESP" #endif