mirror of
https://github.com/brmlab/ledbar.git
synced 2025-06-09 13:24:01 +02:00
Changed the number of pixels to 10
This commit is contained in:
parent
8cb12aae2c
commit
ea6ebd7d2c
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
#define RESX 800
|
||||
#define RESY 600
|
||||
#define BPP 32
|
||||
#define BOXES 23
|
||||
#define BOXES 10
|
||||
|
||||
SDL_Rect rects[BOXES];
|
||||
|
||||
|
@ -156,7 +156,7 @@ void programI(int i, int t, double *r, double *g, double *b)
|
|||
void programO(int i, int t, double *r, double *g, double *b)
|
||||
{
|
||||
#define PERIOD 1200
|
||||
#define MAX_DIST 9
|
||||
#define MAX_DIST 4
|
||||
t += PERIOD;
|
||||
unsigned int rnd, seed;
|
||||
int t1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue