Skip to content

Commit a8ae892

Browse files
committed
fix a few comments
1 parent 82c359e commit a8ae892

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adafruit_rfm9x.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ class RFM9x:
280280
281281
Also note this library tries to be compatible with raw RadioHead Arduino
282282
library communication. This means the library sets up the radio modulation
283-
to match RadioHead's defaults. Features like addressing and guaranteed
284-
delivery need to be implemented at an application level.
283+
to match RadioHead's defaults and assumes that each packet contains a
284+
4 byte header compatible with RadioHead's implementation.
285285
"""
286286

287287
# Global buffer for SPI commands
@@ -793,10 +793,10 @@ def send(
793793
return not timed_out
794794

795795
def send_with_ack(self, data):
796-
"""Reliabe Datagram mode:
796+
"""Reliable Datagram mode:
797797
Send a packet with data and wait for an ACK response.
798798
The packet header is automatically generated.
799-
If enabled, the packet tranmsiion will be retried on failure
799+
If enabled, the packet transmission will be retried on failure
800800
"""
801801
if self.ack_retries:
802802
retries_remaining = self.ack_retries
@@ -839,7 +839,7 @@ def receive(
839839
If keep_listening is True (the default) the chip will immediately enter listening mode
840840
after reception of a packet, otherwise it will fall back to idle mode and ignore any
841841
future reception.
842-
All packets must have a 4 byte header A 4-byte header for compatibilty with the
842+
All packets must have a 4-byte header for compatibilty with the
843843
RadioHead library.
844844
The header consists of 4 bytes (To,From,ID,Flags). The default setting will strip
845845
the header before returning the packet to the caller.

0 commit comments

Comments
 (0)