Skip to content

Commit ab452f9

Browse files
authored
Merge pull request #17 from brentru/remove-ch-print
remove printing of MSB, LSB, MID when a single channel is set
2 parents 435a482 + 83806d6 commit ab452f9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

adafruit_tinylora/adafruit_tinylora.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,10 @@ def set_datarate(self, datarate):
288288
raise KeyError("Invalid or Unsupported Datarate.")
289289

290290
def set_channel(self, channel):
291-
"""Returns the RFM Channel (if single-channel)
291+
"""Sets the RFM Channel (if single-channel)
292292
:param int channel: Transmit Channel (0 through 7).
293293
"""
294294
self._rfm_msb, self._rfm_mid, self._rfm_lsb = self._frequencies[channel]
295-
print(self._rfm_msb)
296-
print(self._rfm_mid)
297-
print(self._rfm_lsb)
298295

299296
def _read_into(self, address, buf, length=None):
300297
"""Read a number of bytes from the specified address into the

0 commit comments

Comments
 (0)