From: hackbard Date: Thu, 13 Sep 2007 13:37:23 +0000 (+0200) Subject: optimized load logo function (thnx to andersro) X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dae61ba4bd4aa88003cae65e454c03aa0a1f85f4;p=my-code%2Farm.git optimized load logo function (thnx to andersro) --- diff --git a/betty/display.c b/betty/display.c index b3d3e9c..4d4e1e1 100644 --- a/betty/display.c +++ b/betty/display.c @@ -73,20 +73,17 @@ void display_load_logo(u8 *src) { u8 *s; u8 page,width; - u32 cnt; s=src; if(s==0) s=default_logo; - cnt=0; for(page=0;page