Skip to content

Commit

Permalink
txDevED1000SC: Comment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
b-schliessmann committed Sep 26, 2020
1 parent edffa3a commit c37f1c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions txDevED1000SC.py
Expand Up @@ -58,7 +58,8 @@ def __init__(self, **params):
# - 10 going online by ESC-WB/-A
# - 20 online
# - 30 going offline by ESC-Z
# - 40 offline delay
# - 40 offline delay after buffer is empty
# - 50 offline, wait for A level
self._rx_state = 0

self.recv_squelch = self.params.get('recv_squelch', 100)
Expand Down Expand Up @@ -426,7 +427,7 @@ def thread_rx(self):
else:
if offline_delay_counter % 100 == 0:
l.debug("[rx] Offline delay running: {!r}/600".format(offline_delay_counter))
elif self._rx_state >= 50: # offline, wait for Z level =============
elif self._rx_state >= 50: # offline, wait for A level =============
if _bit_counter_0 > 100:
self._rx_state = 0
_bit_counter_0 = 0
Expand Down

0 comments on commit c37f1c8

Please sign in to comment.