Skip to content

Commit 8fc235c

Browse files
committed
Revert "WEB: Move extended fields run time, eth data and rtu data to system info"
This reverts commit 0142605.
1 parent 7b1dd05 commit 8fc235c

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,16 @@ void contentInfo(ChunkedPrint &chunked) {
243243
tagLabelDiv(chunked, F("IP Address"));
244244
chunked.print(IPAddress(Ethernet.localIP()));
245245
tagDivClose(chunked);
246+
}
247+
248+
/**************************************************************************/
249+
/*!
250+
@brief P1P2 Status
251+
252+
@param chunked Chunked buffer
253+
*/
254+
/**************************************************************************/
255+
void contentStatus(ChunkedPrint &chunked) {
246256

247257
#ifdef ENABLE_EXTENDED_WEBUI
248258
tagLabelDiv(chunked, F("Run Time"));
@@ -254,17 +264,8 @@ void contentInfo(ChunkedPrint &chunked) {
254264
tagLabelDiv(chunked, F("Ethernet Data"));
255265
tagSpan(chunked, JSON_ETH_DATA);
256266
tagDivClose(chunked);
257-
#endif
258-
}
259-
260-
/**************************************************************************/
261-
/*!
262-
@brief P1P2 Status
267+
#endif /* ENABLE_EXTENDED_WEBUI */
263268

264-
@param chunked Chunked buffer
265-
*/
266-
/**************************************************************************/
267-
void contentStatus(ChunkedPrint &chunked) {
268269
tagLabelDiv(chunked, F("Modbus RTU Request"));
269270
for (byte i = 0; i <= POST_REQ_LAST - POST_REQ; i++) {
270271
bool required = false;

0 commit comments

Comments
 (0)