Skip to content

Commit

Permalink
Add missing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Jun 30, 2024
1 parent c6a5b44 commit 719e69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbot/power_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def buzz(self, frequency: float, duration: float) -> None:
frequency, 8, 10_000, "Frequency is a float in Hz between 0 and 10000"))
duration_ms = int(float_bounds_check(
duration * 1000, 0, 2**31 - 1,
f"Duration is a float in seconds between 0 and {(2**31-1)/1000:,.0f}"))
f"Duration is a float in seconds between 0 and {(2**31 - 1) / 1000:,.0f}"))

cmd = f'NOTE:{frequency_int}:{duration_ms}'
self._serial.write(cmd)
Expand Down

0 comments on commit 719e69d

Please sign in to comment.