Skip to content

Commit cf81971

Browse files
committed
Minor things
1 parent 9410260 commit cf81971

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ void jsonVal(ChunkedPrint &chunked, const byte JSONKEY) {
777777
break;
778778
}
779779
}
780+
break;
780781
case JSON_ETH_DATA:
781782
for (byte i = 0; i < DATA_LAST; i++) {
782783
chunked.print(data.ethCnt[i]);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ const byte VERSION[] = { 8, 0 };
4444
#include <avr/wdt.h>
4545
#include <util/atomic.h>
4646

47+
#include "advanced_settings.h"
48+
4749
typedef struct {
4850
byte ip[4];
4951
byte subnet[4];
@@ -64,8 +66,6 @@ typedef struct {
6466
byte serialAttempts;
6567
} config_t;
6668

67-
#include "advanced_settings.h"
68-
6969
const config_t DEFAULT_CONFIG = {
7070
DEFAULT_STATIC_IP,
7171
DEFAULT_SUBMASK,

0 commit comments

Comments
 (0)