#include #include #include #include "scode.h" #include "config.h" #include "gpio.h" #include "log.h" #include "fbinit.h" #include "time_func.h" #include "sysinput.h" static void do_draw(void) { /* tmp = (char *)Fb_Ptr; memset(tmp, 0xFF, Fb_Info->screenbytes / 2); memset(tmp + (Fb_Info->screenbytes / 2), 0x1B, Fb_Info->screenbytes / 2); */ UINT16 pixel = Fb_Info->green_mask; unsigned npix = Fb_Info->screenbytes / sizeof(UINT16); UINT16 *p = Fb_Ptr; unsigned i; for (i=0; i