Skip to content

Commit

Permalink
Remove debug Serial.println(now)
Browse files Browse the repository at this point in the history
  • Loading branch information
corna committed Feb 28, 2016
1 parent 8af8e41 commit 0248127
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Fsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ void Fsm::check_timer()
}
else
{
unsigned long now = millis();
Serial.println(now);
if (now - transition->start >= transition->interval)
if (millis() - transition->start >= transition->interval)
{
m_current_state = transition->transition.make_transition();
transition->start = 0;
Expand Down

0 comments on commit 0248127

Please sign in to comment.