Skip to content

Commit

Permalink
Removed condition on the not running and alarm
Browse files Browse the repository at this point in the history
since it was hidding alarms during run time
  • Loading branch information
vlachoudis committed Feb 5, 2017
1 parent 05738ef commit 5f16bbf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,12 +1139,11 @@ def serialIO(self):
self._gcount += 1
if cline: del cline[0]
if sline: del sline[0]
#print "gcount OK=",self._gcount
#print "SLINE:",sline
if self._alarm and not self.running:
# turn off alarm for connected status once
# a valid gcode event occurs
self._alarm = False
# if self._alarm and not self.running:
# # turn off alarm for connected status once
# # a valid gcode event occurs
# self._alarm = False

elif line[0] == "$":
self.log.put((Sender.MSG_RECEIVE, line))
Expand Down

0 comments on commit 5f16bbf

Please sign in to comment.