File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
arduino-modbus-rtu-tcp-gateway Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -241,16 +241,6 @@ void contentInfo(ChunkedPrint &chunked) {
241
241
tagLabelDiv (chunked, F (" IP Address" ));
242
242
chunked.print (IPAddress (Ethernet.localIP ()));
243
243
tagDivClose (chunked);
244
- }
245
-
246
- /* *************************************************************************/
247
- /* !
248
- @brief P1P2 Status
249
-
250
- @param chunked Chunked buffer
251
- */
252
- /* *************************************************************************/
253
- void contentStatus (ChunkedPrint &chunked) {
254
244
255
245
#ifdef ENABLE_EXTENDED_WEBUI
256
246
tagLabelDiv (chunked, F (" Run Time" ));
@@ -262,8 +252,17 @@ void contentStatus(ChunkedPrint &chunked) {
262
252
tagLabelDiv (chunked, F (" Ethernet Data" ));
263
253
tagSpan (chunked, JSON_ETH_DATA);
264
254
tagDivClose (chunked);
265
- #endif /* ENABLE_EXTENDED_WEBUI */
255
+ #endif
256
+ }
257
+
258
+ /* *************************************************************************/
259
+ /* !
260
+ @brief P1P2 Status
266
261
262
+ @param chunked Chunked buffer
263
+ */
264
+ /* *************************************************************************/
265
+ void contentStatus (ChunkedPrint &chunked) {
267
266
tagLabelDiv (chunked, F (" Modbus RTU Request" ));
268
267
for (byte i = 0 ; i <= POST_REQ_LAST - POST_REQ; i++) {
269
268
bool required = false ;
You can’t perform that action at this time.
0 commit comments