@@ -362,15 +362,15 @@ def __init__(self, spi, cs, reset, frequency, *, preamble_length=8,
362
362
raise RuntimeError ('Failed to configure radio for LoRa mode, check wiring!' )
363
363
except OSError :
364
364
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
366
366
if frequency > 525 :
367
367
self .low_frequency_mode = 0
368
368
# Setup entire 256 byte FIFO
369
369
self ._write_u8 (_RH_RF95_REG_0E_FIFO_TX_BASE_ADDR , 0x00 )
370
370
self ._write_u8 (_RH_RF95_REG_0F_FIFO_RX_BASE_ADDR , 0x00 )
371
371
# Set mode idle
372
372
self .idle ()
373
- # Set modem config to RadioHead comaptible Bw125Cr45Sf128 mode.
373
+ # Set modem config to RadioHead compatible Bw125Cr45Sf128 mode.
374
374
# Note no sync word is set for LoRa mode either!
375
375
self ._write_u8 (_RH_RF95_REG_1D_MODEM_CONFIG1 , 0x72 ) # Fei msb?
376
376
self ._write_u8 (_RH_RF95_REG_1E_MODEM_CONFIG2 , 0x74 ) # Fei lsb?
@@ -499,7 +499,7 @@ def tx_power(self):
499
499
power devices. Only integer power levels are actually set (i.e. 12.5
500
500
will result in a value of 12 dBm).
501
501
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.
503
503
The actual setting is reduced by 3dBm.
504
504
The reported value will reflect the reduced setting.
505
505
"""
0 commit comments