mirror of
https://github.com/brmlab/ledbar.git
synced 2025-06-09 21:34:00 +02:00
POV: Speed up
This commit is contained in:
parent
9678a078b1
commit
4d99961eba
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ void programY(int i, int t, double *r, double *g, double *b)
|
|||
"x x x x x x x x x x x x",
|
||||
"xx x x x x x xx xx "
|
||||
};
|
||||
t = t/10 % 4;
|
||||
t = t/2 % 4;
|
||||
*r = 0;
|
||||
*g = t<4 && i<23 && bm[t][i]=='x' ? 1 : 0;
|
||||
*b = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue