clear after mouse calibration to avoid silly display

ugfx_release_2.6
Joel Bodenmann 2013-07-28 14:13:05 +02:00
parent f84bc2a3f6
commit 580cf977d0
1 changed files with 7 additions and 0 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