Skip to content

Commit ff73d37

Browse files
committed
Fix typo.
1 parent b2d6f15 commit ff73d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rfm9x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def __init__(self, spi, cs, reset, frequency, *, preamble_length=8,
374374
# Set signal bandwidth (set to 125000 to match RadioHead Bw125).
375375
bins = (7800, 10400, 15600, 20800, 31250, 41700, 62500, 125000, 250000)
376376
for bw, cutoff in enumerate(bins):
377-
if bandwidth <= cutoff:
377+
if signal_bandwidth <= cutoff:
378378
break
379379
else:
380380
bw = 9

0 commit comments

Comments
 (0)