Skip to content

Commit b03477b

Browse files
committed
Add a few more typehints to init
1 parent 221cbcc commit b03477b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sx1280/sx1280.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ def __init__(
120120
spi: SPI,
121121
cs: DigitalInOut,
122122
reset: DigitalInOut,
123-
busy,
124-
frequency,
123+
busy: DigitalInOut,
124+
frequency: float,
125125
*,
126-
debug=False,
126+
debug: bool = False,
127127
txen: DigitalInOut | bool = False,
128128
rxen: DigitalInOut | bool = False,
129129
):

0 commit comments

Comments
 (0)