diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-12-17 00:16:15 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-12-17 00:16:15 +0100 |
commit | d47cf26d31d9ca5c8308b02d498f3296af606d32 (patch) | |
tree | 69256852ae1772eaf7bb5bba468394fcfb71799d /src | |
parent | 58b9938db200856bebf99794ba11a51e78954bc7 (diff) | |
download | uGFX-d47cf26d31d9ca5c8308b02d498f3296af606d32.tar.gz uGFX-d47cf26d31d9ca5c8308b02d498f3296af606d32.tar.bz2 uGFX-d47cf26d31d9ca5c8308b02d498f3296af606d32.zip |
SSD1289 reset_viewport quick fix
Diffstat (limited to 'src')
-rw-r--r-- | src/ginput/mouse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ginput/mouse.c b/src/ginput/mouse.c index 5e762ef9..01689283 100644 --- a/src/ginput/mouse.c +++ b/src/ginput/mouse.c @@ -527,6 +527,10 @@ bool_t ginputCalibrateMouse(uint16_t instance) { MouseConfig.fnsavecal(instance, (const uint8_t *)&MouseConfig.caldata, sizeof(MouseConfig.caldata));
MouseConfig.flags |= FLG_CAL_SAVED;
}
+
+ /* FIX THIS PROPERLY!!! */
+ reset_viewport();
+
return TRUE;
#endif
}
|