[go: nahoru, domu]

Skip to content

Commit

Permalink
small left over
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewML committed Dec 22, 2020
1 parent d8ef82c commit a55de7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flapUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function parseFlap(rawFlap: Buffer): Flap {
assert(id === 0x2a, 'Unexpected Flap ID');

const flap: Flap = {
channel: rawFlap.readUInt8(1) as Flap['channel'],
channel: rawFlap.readUInt8(1),
sequence: rawFlap.readUInt16BE(2),
byteLength: rawFlap.readUInt16BE(4),
data: rawFlap.subarray(6),
Expand Down

0 comments on commit a55de7b

Please sign in to comment.