[GH-ISSUE #1552] Compile error from version 2.0.12-beta onwards (set_country_code vs set_country) #1326

Closed
opened 2026-02-28 01:29:35 +03:00 by kerem · 2 comments
Owner

Originally created by @alx-1 on GitHub (Jan 21, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1552

Hello,

From version 2.0.12-beta, there seems to be an error in WifiManager.cpp preventing compilation of the included Basic.ino example.
Line 3523
err = esp_wifi_set_country_code(_wificountry.c_str(), true);

Version 2.0.11-beta compiles.

Thank you for your work ++

Originally created by @alx-1 on GitHub (Jan 21, 2023). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1552 Hello, From version 2.0.12-beta, there seems to be an error in WifiManager.cpp preventing compilation of the included Basic.ino example. Line 3523 err = esp_wifi_set_country_code(_wificountry.c_str(), true); Version 2.0.11-beta compiles. Thank you for your work ++
kerem closed this issue 2026-02-28 01:29:36 +03:00
Author
Owner

@tablatronix commented on GitHub (Jan 22, 2023):

Use a new ESP version they changed this

<!-- gh-comment-id:1399389501 --> @tablatronix commented on GitHub (Jan 22, 2023): Use a new ESP version they changed this
Author
Owner

@alx-1 commented on GitHub (Jan 22, 2023):

Thank you, it works!

<!-- gh-comment-id:1399398003 --> @alx-1 commented on GitHub (Jan 22, 2023): Thank you, it works!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1326
No description provided.