File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
arduino-modbus-rtu-tcp-gateway Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments