aboutsummaryrefslogtreecommitdiffstats
path: root/test/scanTest1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/scanTest1.c')
-rw-r--r--test/scanTest1.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/scanTest1.c b/test/scanTest1.c
index ac67115..19d78b5 100644
--- a/test/scanTest1.c
+++ b/test/scanTest1.c
@@ -3,19 +3,14 @@
#include <stdlib.h>
#include <math.h>
-typedef struct Color {
- unsigned char r;
- unsigned char g;
- unsigned char b;
- unsigned char a;
-} Color;
+#include "libsldj/util.h"
Color lineScanner(uint16_t x, uint16_t y, uint32_t frameNumber)
{
uint8_t c = 0;
uint8_t scale = random() % 2 + 7;
- if (frameNumber % 1024 >= 512)
+ if (frameNumber % 1024 >= 600)
{
uint8_t section = frameNumber % 300;