Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Bettman66 authored Jan 8, 2024
1 parent 5395b4f commit 22d9099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ let iconvFrom;
let iconvTo;
let iconvToL;
const encoding = 'iso-8859-1';
let buf;

/*try {
const Iconv = require('iconv').Iconv;
Expand Down Expand Up @@ -255,7 +256,7 @@ function send() {
if (!s7client) {
return next('s7client not exists');
}
let buf;
buf = null;

if (type === 'BOOL') {
if (val === true || val === 1 || val === 'true' || val === '1') {
Expand Down

0 comments on commit 22d9099

Please sign in to comment.