Skip to content

Commit 44ff1ba

Browse files
committed
Reorder includes
Signed-off-by: Samuel Cabrero <[email protected]>
1 parent 4f28236 commit 44ff1ba

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
v7.4 2024-12-16 CSS improvement, code optimization, simplify DHCP renew, better README (solution to ethernet reset issue)
2929
*/
3030

31-
const byte VERSION[] = { 7, 4 };
32-
31+
#include "advanced_settings.h"
3332
#include <SPI.h>
3433
#include <Ethernet.h>
3534
#include <EthernetUdp.h>
@@ -43,6 +42,8 @@ const byte VERSION[] = { 7, 4 };
4342
#include <avr/wdt.h>
4443
#include <util/atomic.h>
4544

45+
const byte VERSION[] = { 7, 4 };
46+
4647
typedef struct {
4748
byte ip[4];
4849
byte subnet[4];
@@ -63,8 +64,6 @@ typedef struct {
6364
byte serialAttempts;
6465
} config_t;
6566

66-
#include "advanced_settings.h"
67-
6867
const config_t DEFAULT_CONFIG = {
6968
DEFAULT_STATIC_IP,
7069
DEFAULT_SUBMASK,

0 commit comments

Comments
 (0)