Skip to content

Commit ea51280

Browse files
committed
fix frequency initialiation
1 parent 5407b92 commit ea51280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rfm69.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def __init__(self, spi, cs, reset, frequency, *, sync_word=b'\x2D\xD4',
340340
# Set the preamble length.
341341
self.preamble_length = preamble_length
342342
# Set frequency.
343-
self.frequency = frequency
343+
self.frequency_mhz = frequency
344344
# Set encryption key.
345345
self.encryption_key = encryption_key
346346
# Set transmit power to 13 dBm, a safe value any module supports.

0 commit comments

Comments
 (0)