So we meet again, Mister Off-by-one Error...
This commit is contained in:
parent
0f7dc22fb8
commit
bc59653e9b
|
@ -29,7 +29,7 @@
|
||||||
void squares(void) {
|
void squares(void) {
|
||||||
// add a rotating color map for smooth transitions
|
// add a rotating color map for smooth transitions
|
||||||
uint8_t nColorMap[NUMPLANE * 2];
|
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)) {
|
if (i < (NUMPLANE + 1)) {
|
||||||
nColorMap[i] = i;
|
nColorMap[i] = i;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue