diff --git a/fw/antorcha.c b/fw/antorcha.c index 5b7d802..320ff5d 100644 --- a/fw/antorcha.c +++ b/fw/antorcha.c @@ -28,7 +28,7 @@ static struct sweep sweep = { .wait_ticks = 60000, /* 60 ms */ .pixel_ticks = 1000, /* 1 ms */ .left = 0, - .right = 79, + .right = MAX_LINES-1, .forward = 1, }; diff --git a/fw/image.h b/fw/image.h index dd4c4a4..5936186 100644 --- a/fw/image.h +++ b/fw/image.h @@ -18,7 +18,7 @@ #include -#define MAX_LINES 100 +#define MAX_LINES 80 struct line {