Mercurial > ~darius > hgwebdir.cgi > splitbrain
diff shore/shore.ino @ 2:7d4ec58da1d8
nuke some more debugging
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sat, 11 Jul 2015 15:34:59 +0930 |
parents | fe0a2f223e10 |
children | d25e14956c65 |
line wrap: on
line diff
--- a/shore/shore.ino Sat Jul 11 15:20:40 2015 +0930 +++ b/shore/shore.ino Sat Jul 11 15:34:59 2015 +0930 @@ -105,11 +105,6 @@ vdir = vint < 0 ? 0 : 1; vint = pgm_read_byte_near(log_lookup + abs(vint)); -#if 0 - Serial.print("l = "); Serial.print(l); Serial.print(" "); Serial.print(lint); Serial.print(" "); Serial.print(ldir); - Serial.print(" r = "); Serial.print(r); Serial.print(" "); Serial.print(rint); Serial.print(" "); Serial.print(r); - Serial.print(" v = "); Serial.print(vint); Serial.print(" "); Serial.println(vdir); -#else Serial.print("L:"); Serial.print(lint * (ldir == 0 ? -1 : 1)); Serial.print(" R:"); @@ -117,7 +112,6 @@ Serial.print(" V:"); Serial.print(vint * (vdir == 0 ? -1 : 1)); Serial.println(); -#endif snprintf(lcdbuf, sizeof(lcdbuf) - 1, "L%c%3dR%c%3dV%c%3d", ldir == 0 ? '-' : '+', lint, rdir == 0 ? '-' : '+', rint, vdir == 0 ? '-' : '+', vint);