Skip to content

Commit 66492ff

Browse files
authored
More typos
1 parent 8f2d877 commit 66492ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_rfm9x.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,15 @@ def __init__(self, spi, cs, reset, frequency, *, preamble_length=8,
362362
raise RuntimeError('Failed to configure radio for LoRa mode, check wiring!')
363363
except OSError:
364364
raise RuntimeError('Failed to communicate with radio, check wiring!')
365-
# clear default setting for access to LF registers if frquency > 525MHz
365+
# clear default setting for access to LF registers if frequency > 525MHz
366366
if frequency > 525:
367367
self.low_frequency_mode = 0
368368
# Setup entire 256 byte FIFO
369369
self._write_u8(_RH_RF95_REG_0E_FIFO_TX_BASE_ADDR, 0x00)
370370
self._write_u8(_RH_RF95_REG_0F_FIFO_RX_BASE_ADDR, 0x00)
371371
# Set mode idle
372372
self.idle()
373-
# Set modem config to RadioHead comaptible Bw125Cr45Sf128 mode.
373+
# Set modem config to RadioHead compatible Bw125Cr45Sf128 mode.
374374
# Note no sync word is set for LoRa mode either!
375375
self._write_u8(_RH_RF95_REG_1D_MODEM_CONFIG1, 0x72) # Fei msb?
376376
self._write_u8(_RH_RF95_REG_1E_MODEM_CONFIG2, 0x74) # Fei lsb?
@@ -499,7 +499,7 @@ def tx_power(self):
499499
power devices. Only integer power levels are actually set (i.e. 12.5
500500
will result in a value of 12 dBm).
501501
The actual maximum setting for high_power=True is 20dBm but for values > 20
502-
the PA_BOOST will be enabled resultiung in an additonal gain of 3dBm.
502+
the PA_BOOST will be enabled resulting in an additional gain of 3dBm.
503503
The actual setting is reduced by 3dBm.
504504
The reported value will reflect the reduced setting.
505505
"""

0 commit comments

Comments
 (0)