From 7ae83c1e653a875709d5c298e70e092c660b512f Mon Sep 17 00:00:00 2001 From: F5OEO Date: Thu, 15 Dec 2016 15:57:30 +0000 Subject: [PATCH] Reduce framerate : this caused issue in RF mode --- src/gui/tcanim.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gui/tcanim.c b/src/gui/tcanim.c index 6342797..bf18baf 100644 --- a/src/gui/tcanim.c +++ b/src/gui/tcanim.c @@ -187,7 +187,7 @@ void draw(int w, int h) { Rect (0,20,720,34) ; Fill (255,255,255,1) ; Text (w-frames*2,28,bannertext,SansTypeface,19) ; - frames++ ; + frames+=20 ; temp = TextWidth (bannertext,SansTypeface,19) ; if (temp - frames * 2 < -720) { @@ -325,7 +325,7 @@ int main(int argc, char **argv) printf ("\n") ; init (&w, &h); - w = 720 ; h = 576 ; + //w = 720 ; h = 576 ; makeImage() ; Start (w,h) ; vgSetPixels (0,0,save[0],0,0,w,h) ; @@ -380,10 +380,11 @@ int main(int argc, char **argv) counter2++ ; draw(w, h); End() ; + usleep(400000); cycles++ ; namefields++ ; - if (namefields >= nameseconds * 50) + if (namefields >= nameseconds * 5) { nameindex++ ; namefields = 0 ;