Skip to content
Permalink
Browse files

Fixed a bug causing it to always turn on in programming mode

(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 81056ce51fd71a14df1297e1a86ceea6f41a22ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 GCode.ino
@@ -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();
}

0 comments on commit 81056ce

Please sign in to comment.
You can’t perform that action at this time.