Skip to content

Commit

Permalink
make the main thread sleep in quiet mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SkypLabs committed Jan 15, 2016
1 parent bb887e8 commit 8034558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdlcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def receive_callback(data):

if args['quiet']:
while True:
pass
sleep(1)
else:
while True:
hdlc_c.send(args['message'])
Expand Down

0 comments on commit 8034558

Please sign in to comment.