m5stack / M5Core2

M5Core2 Arduino Library
MIT License
267 stars 117 forks source link

[WiFiSetting] Fixed an issue where SSID and PASSWD were not printed correctly if they exceeded 14 characters. #153

Open sssscccc210 opened 2 months ago

sssscccc210 commented 2 months ago

SSID and PASSWD were printed correctly when they were under 13 characters, but they were not printed correctly when they exceeded 14 characters. Therefore, I fixed this problem with this commit.

Both SSID and PASSWD are 13 characters (1234567890abc).

SSID is 13 characters (1234567890abc), and PASSWD is 14 characters (1234567890abcd).

Both SSID and PASSWD are 14 characters (1234567890abcd).


After the fix: Both SSID and PASSWD were printed correctly even they are 14 characters (1234567890abcd).