Skip to content

Commit

Permalink
Remove modbus config not use
Browse files Browse the repository at this point in the history
  • Loading branch information
hung-eoh committed Jun 30, 2024
1 parent 30bf631 commit 76bdcd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions src/Modbus/ERaModbus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,7 @@ void ERaModbus<Api>::processModbusScan() {
.len1 = 0,
.len2 = 1,
.extra = {},
.delay = 20,
.ipSlave = {
.ip = {
.dword = this->modbusScan->ipSlave.ip.dword
Expand Down
5 changes: 0 additions & 5 deletions src/Modbus/ERaParse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,9 @@ typedef struct __ModbusConfig_t {
uint8_t len1;
uint8_t len2;
uint8_t extra[10];
uint8_t type;
uint8_t button;
uint16_t delay;
IPSlave_t ipSlave;
uint8_t totalFail;
uint8_t sizeData;
uint8_t ack;
uint32_t value;
} ModbusConfig_t;

typedef struct __Action_t {
Expand Down

0 comments on commit 76bdcd2

Please sign in to comment.