add decoder for channel block

This commit is contained in:
2025-03-15 12:01:50 -05:00
parent ca53943374
commit 9a8832fe90
4 changed files with 38 additions and 0 deletions
+10
View File
@@ -251,6 +251,16 @@ const goodTests = [
},
decoder: Decoders.RTTrPM,
},
{
description: 'Channel Block',
bytes: new Uint8Array([0x00, 0x08, 0x00, 0x06, 0x40]),
expected: {
offset: 0x08,
fade: 0x06,
value: 0x40,
},
decoder: Decoders.ChannelBlock,
},
];
describe('RTTrP Bytes Decoding', () => {