Skip to content

Commit

Permalink
Reformat to satisfy black
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswilk authored Mar 9, 2023
1 parent 4e51c8f commit f4c324d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_drv2605.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def realtime_value(self) -> int:
@realtime_value.setter
def realtime_value(self, val: int) -> None:
if not -127 <= val <= 255:
raise ValueError("Real-Time Playback value must be a value between -127 and 255!")
raise ValueError("Real-Time Playback value must be between -127 and 255!")
self._write_u8(_DRV2605_REG_RTPIN, val)

def set_waveform(self, effect_id: int, slot: int = 0) -> None:
Expand Down

0 comments on commit f4c324d

Please sign in to comment.