Skip to content

Commit

Permalink
🐛 fix wave converting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shilapi committed Aug 28, 2024
1 parent da221e8 commit 559789b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydglab/bthandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def set_wave_(
characteristics: CoyoteV2 | CoyoteV3,
):
# Create a byte array with the wave values.
array = ((value.waveX << 15) + (value.waveY << 5) + value.waveX).to_bytes(
array = ((value.waveZ << 15) + (value.waveY << 5) + value.waveX).to_bytes(
3, byteorder="little"
)

Expand Down

0 comments on commit 559789b

Please sign in to comment.