Skip to content

Commit

Permalink
Merge aee9450 into a5788f3
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelValentine committed Jul 29, 2020
2 parents a5788f3 + aee9450 commit 79fd831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/enip/cip/epath/segments/logical/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ const build = (type, address, padded = true) => {
format = 2;

if (padded) {
Buffer.alloc(6);
buf = Buffer.alloc(6);
buf.writeUInt32LE(address, 2);
} else {
Buffer.alloc(5);
buf = Buffer.alloc(5);
buf.writeUInt32LE(address, 1);
}
}
Expand Down

0 comments on commit 79fd831

Please sign in to comment.