So we meet again, Mister Off-by-one Error...

This commit is contained in:
Christian Kroll 2012-09-04 01:39:56 +00:00
parent 0f7dc22fb8
commit bc59653e9b
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
void squares(void) {
// add a rotating color map for smooth transitions
uint8_t nColorMap[NUMPLANE * 2];
for (uint8_t i = 0; i < (((NUMPLANE + 1) * 2) - 1); ++i) {
for (uint8_t i = 0; i < (NUMPLANE * 2); ++i) {
if (i < (NUMPLANE + 1)) {
nColorMap[i] = i;
} else {