Merge branch 'master' into list

ugfx_release_2.6
Joel Bodenmann 2013-07-28 14:13:13 +02:00
commit 30df14b595
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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);