Skip to content

Commit

Permalink
fixed TimeSlot reading
Browse files Browse the repository at this point in the history
  • Loading branch information
PLCHome committed Oct 24, 2024
1 parent 56163b0 commit 53f4fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parseret.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = class {
.toString()
.split('-')
.map(n => parseInt(n, 10));
if (ar.length > 18) {
if (ar.length > 1) {
let time = '';
[val.param1, val.success] = fNum((ar[0] >> 13) & 0x03, 0, 2, val.success);
[time, val.success] = fTime(ar[0] & 0x1fff, val.success);
Expand Down

0 comments on commit 53f4fec

Please sign in to comment.