Skip to content

Commit

Permalink
WIP -- more fix SF=6 for rfm9x
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryneedell committed Jan 27, 2025
1 parent 542638d commit 752f3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_rfm/rfm9x.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def enable_crc(self, val: bool) -> None:
)

@property
def payload_length(self) -> bool:
def payload_length(self) -> int:
"""Must be set when using Implicit Header Mode - required for SF = 6"""
return self.read_u8(_RF95_REG_22_PAYLOAD_LENGTH)

Expand Down

0 comments on commit 752f3e2

Please sign in to comment.