Skip to content

Commit

Permalink
cpu/esp: revert the change for ESP_WIFI_PASS define
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gschorcht committed Dec 19, 2021
1 parent 4398812 commit 87a72e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/esp_common/esp-wifi/esp_wifi_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 87a72e4

Please sign in to comment.