From 4d99961eba3e20e3d284422e1a41d63ea5f4a92f Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 20 Sep 2011 20:44:54 +0200 Subject: [PATCH] POV: Speed up --- host/ledbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/ledbar.c b/host/ledbar.c index 29c8822..0c87678 100644 --- a/host/ledbar.c +++ b/host/ledbar.c @@ -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;