Skip to content

Commit 970de23

Browse files
authored
Fix issue #7 (Lost connection and Arduino freeze after few hours)
Fix #7
1 parent 3a9afdf commit 970de23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-modbus-rtu-tcp-gateway/05-pages.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ void contentRtu(ChunkedPrint& content)
541541
void contentTools(ChunkedPrint& content)
542542
{
543543
content.print(F("<tr><td>Factory Defaults:<td><button name=a value=1>Restore</button> (Static IP: "));
544-
content.print(defaultConfig.ip);
544+
content.print((IPAddress)defaultConfig.ip);
545545
content.print(F(")"
546546
"<tr><td>MAC Address: <td><button name=a value=2>Generate New</button>"
547547
"<tr><td>Microcontroller: <td><button name=a value=3>Reboot</button>"));

0 commit comments

Comments
 (0)