Skip to content

Commit a925403

Browse files
committed
fix #52
1 parent cf64114 commit a925403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rfm69.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def __init__( # pylint: disable=invalid-name
312312
self.reset() # Reset the chip.
313313
# Check the version of the chip.
314314
version = self._read_u8(_REG_VERSION)
315-
if version != 0x24:
315+
if version not in [0x23, 0x24]:
316316
raise RuntimeError("Invalid RFM69 version, check wiring!")
317317
self.idle() # Enter idle state.
318318
# Setup the chip in a similar way to the RadioHead RFM69 library.

0 commit comments

Comments
 (0)