Skip to content

Commit

Permalink
trying pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Aug 3, 2019
1 parent b3f8472 commit ce5b3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuitpython_nrf24l01/rf24.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def send(self, buf=None, askNoACK=False, reUseTX=False, timeout=0.2):
# print('status: DR={} DS={} DF={}'.format(self.irq_DR, self.irq_DS, self.irq_DF))
if self.irq_DS or self.irq_DF: # transmission done
# get status flags to detect error
result = True if self.irq_DS else False
result = bool(self.irq_DS)
# read ack payload clear status flags, then power down
if self.ack and self.irq_DS and not askNoACK:
# get and save ACK payload to self.ack if user wants it
Expand Down

0 comments on commit ce5b3e4

Please sign in to comment.