Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Changed Length of Chars in Server textfield #55

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions src/AWTRIXController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ bool notify = false;
int connectionTimout;
int matrixTempCorrection = 0;

String version = "0.46";
char awtrix_server[16] = "0.0.0.0";
String version = "0.47";
char awtrix_server[32] = "0.0.0.0";
char Port[6] = "7001"; // AWTRIX Host Port, default = 7001
int matrixType = 0;

Expand Down Expand Up @@ -1439,7 +1439,7 @@ void setup()
*/

wifiManager.setAPStaticIPConfig(IPAddress(172, 217, 28, 1), IPAddress(172, 217, 28, 1), IPAddress(255, 255, 255, 0));
WiFiManagerParameter custom_awtrix_server("server", "AWTRIX Host", awtrix_server, 16);
WiFiManagerParameter custom_awtrix_server("server", "AWTRIX Host", awtrix_server, 32);
WiFiManagerParameter custom_port("Port", "Matrix Port", Port, 6);
WiFiManagerParameter custom_matrix_type("matrixType", "MatrixType", "0", 1);
// Just a quick hint
Expand Down