fix: Encode T330 shock intensity as 4-bit level with rolling state#472
fix: Encode T330 shock intensity as 4-bit level with rolling state#472LucHeart wants to merge 3 commits into
Conversation
The T330 collar variant reads shock intensity from the lower nibble (0-15) of the intensity byte, not as a raw 0-100 value. The upper bits carry a rolling counter and toggle bit. Map 0-100 intensity to 0-15 level in the lower nibble and maintain per-shocker rolling state (counter + toggle) in the upper bits. Vibrate and sound encoding remain unchanged.
Cpp-Linter Report
|
Summary
Test plan