Skip to content

Commit

Permalink
Remove unnecessary init of power amplifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryneedell committed Nov 26, 2023
1 parent 2fd4dfe commit 1e23cc8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions adafruit_rfm69.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,6 @@ def __init__( # pylint: disable=invalid-name
self._write_u8(_REG_FIFO_THRESH, 0b10001111)
# Configure low beta off.
self._write_u8(_REG_TEST_DAGC, 0x30)
# Disable boost.
self._write_u8(_REG_TEST_PA1, _TEST_PA1_NORMAL)
self._write_u8(_REG_TEST_PA2, _TEST_PA2_NORMAL)
# Set the syncronization word.
self.sync_word = sync_word
self.preamble_length = preamble_length # Set the preamble length.
Expand Down

0 comments on commit 1e23cc8

Please sign in to comment.