feat(#649): convert a preset's path hash bytes to the firmware mode
Presets publish path hash size in bytes; firmware takes a zero-based mode (1 byte = mode 0, 2 = 1, 3 = 2). RadioPreset.pathHashMode does the conversion and returns null when the preset carries none or an out-of-range size, so nothing is sent. Tests pin all three sizes and that a published 2 never becomes mode 2. Epic: #726 Agent: MagentaHawk (session 5a8922d6) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>pull/744/head
parent
0ed9bd717a
commit
d4a7177a2a
Loading…
Reference in new issue