Skip to content

Commit 53f4fec

Browse files
committed
fixed TimeSlot reading
1 parent 56163b0 commit 53f4fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parseret.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module.exports = class {
117117
.toString()
118118
.split('-')
119119
.map(n => parseInt(n, 10));
120-
if (ar.length > 18) {
120+
if (ar.length > 1) {
121121
let time = '';
122122
[val.param1, val.success] = fNum((ar[0] >> 13) & 0x03, 0, 2, val.success);
123123
[time, val.success] = fTime(ar[0] & 0x1fff, val.success);

0 commit comments

Comments
 (0)