From e4aae7b3f63995f0bb767df099ff4a3f5261742d Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 27 Jul 2013 23:35:23 +0200 Subject: fixed typo in GQueue --- src/gqueue/gqueue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gqueue/gqueue.c b/src/gqueue/gqueue.c index 8b27bd41..f73c43df 100644 --- a/src/gqueue/gqueue.c +++ b/src/gqueue/gqueue.c @@ -103,7 +103,7 @@ pi = pqueue->head; pqueue->head = pi->next; pi->next = 0; - gfxSytemUnlock(); + gfxSystemUnlock(); return pi; } void gfxQueueGSyncPut(gfxQueueGSync *pqueue, gfxQueueGSyncItem *pitem) { @@ -184,7 +184,7 @@ pi = pqueue->head; pqueue->head = pi->next; pi->next = 0; - gfxSytemUnlock(); + gfxSystemUnlock(); gfxSemSignalI(&pi->sem); gfxSemDestroy(&pi->sem); -- cgit v1.2.3 From 580cf977d07820774efd8abcf067f015422b7e55 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 28 Jul 2013 14:13:05 +0200 Subject: clear after mouse calibration to avoid silly display --- src/ginput/mouse.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/ginput/mouse.c b/src/ginput/mouse.c index 28707d8b..5459a4cd 100644 --- a/src/ginput/mouse.c +++ b/src/ginput/mouse.c @@ -509,6 +509,13 @@ bool_t ginputCalibrateMouse(uint16_t instance) { MouseConfig.fnsavecal(instance, (const uint8_t *)&MouseConfig.caldata, sizeof(MouseConfig.caldata)); MouseConfig.flags |= FLG_CAL_SAVED; } + + // Clear the screen using the GWIN default background color + #if GFX_USE_GWIN + gdispClear(gwinGetDefaultBgColor()); + #else + gdispClear(White); + #endif return TRUE; #endif -- cgit v1.2.3