Skip to content

Commit 9b3ca07

Browse files
committed
Run pre-commit
1 parent 4575960 commit 9b3ca07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/hid_simple_gamepad.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
ax = analogio.AnalogIn(board.A4)
3434
ay = analogio.AnalogIn(board.A5)
3535

36+
3637
# Equivalent of Arduino's map() function.
3738
def range_map(x, in_min, in_max, out_min, out_max):
3839
return (x - in_min) * (out_max - out_min) // (in_max - in_min) + out_min

0 commit comments

Comments
 (0)