Permalink
Browse files

tweak identify routine

  • Loading branch information...
1 parent 74dd3ed commit 49d633c582e8c87f040cd23217214ca23264fde6 root committed Mar 3, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 matrix-test.c
View
@@ -143,7 +143,7 @@ gradient(
#else
uint32_t b = 0;
- if (x % 32 == 0 && y % 32 == 0)
+ if (x % 32 < (x/32 + 4) && y % 32 < (y/32+1))
{
b = 0xFFFFFF;
} else
@@ -179,6 +179,7 @@ gradient(
out[0] = (b >> 16) & 0xFF;
out[1] = (b >> 8) & 0xFF;
out[2] = (b >> 0) & 0xFF;
+ //*out = b;
#endif
}
}

0 comments on commit 49d633c

Please sign in to comment.