From 3a19eb47867151ff952437e9cd0c9992a8723801 Mon Sep 17 00:00:00 2001 From: dWiGhT Date: Thu, 14 Mar 2024 10:48:47 -0500 Subject: [PATCH] fixed wm password_text_box parameter error (and not appearing) --- src/wManager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wManager.cpp b/src/wManager.cpp index 6b7e98f..df425ff 100644 --- a/src/wManager.cpp +++ b/src/wManager.cpp @@ -134,6 +134,9 @@ void init_WifiManager() // Text box (Number) - 7 characters maximum WiFiManagerParameter port_text_box_num("Poolport", "Pool port", convertedValue, 7); + // Text box (String) - 80 characters maximum + WiFiManagerParameter password_text_box("Poolpassword", "Pool password (Optional)", Settings.PoolPassword, 80); + // Text box (String) - 80 characters maximum WiFiManagerParameter addr_text_box("btcAddress", "Your BTC address", Settings.BtcWallet, 80); @@ -150,8 +153,6 @@ void init_WifiManager() strcat(checkboxParams, " checked"); } WiFiManagerParameter save_stats_to_nvs("SaveStatsToNVS", "Track Uptime, Best Diff, Total Hashes in device Flash memory. (Experimental)", "T", 2, checkboxParams, WFM_LABEL_AFTER); - // Text box (String) - 80 characters maximum - WiFiManagerParameter password_text_box("Poolpassword - Optionl", "Pool password", Settings.PoolPassword, 80); // Add all defined parameters wm.addParameter(&pool_text_box);