Skip to content

Commit

Permalink
Fixed a bug causing it to always turn on in programming mode
Browse files Browse the repository at this point in the history
(THIS is exactly why I usually put the constants first in an if statement)
  • Loading branch information
sumorai committed Jun 13, 2013
1 parent b52007b commit 81056ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GCode.ino
Expand Up @@ -169,7 +169,7 @@ void setup() {
// do a little power on color burst like Tadao board does
powerOnLEDBurst(OperatingMode);

if( OperatingMode = MODE_PROGRAMMING ) {
if( MODE_PROGRAMMING == OperatingMode ) {
// track pull time so we can reset the board if held for a certain length of time
Prog_TriggerDownStart = millis();
}
Expand Down

0 comments on commit 81056ce

Please sign in to comment.