aboutsummaryrefslogtreecommitdiffstats
path: root/src/ginput/mouse.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-04-05 16:15:07 +0200
committerJoel Bodenmann <joel@unormal.org>2013-04-05 16:15:07 +0200
commitc86cd58275c1efe62c6dd2f45e9996b077906352 (patch)
treeda7d1e9543e52f8bfae1b19ccbe1c3f580f54b68 /src/ginput/mouse.c
parent4719e96bebb3c98ad746cecc370da35a44d11cbf (diff)
downloaduGFX-c86cd58275c1efe62c6dd2f45e9996b077906352.tar.gz
uGFX-c86cd58275c1efe62c6dd2f45e9996b077906352.tar.bz2
uGFX-c86cd58275c1efe62c6dd2f45e9996b077906352.zip
slider doc fix
Diffstat (limited to 'src/ginput/mouse.c')
-rw-r--r--src/ginput/mouse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ginput/mouse.c b/src/ginput/mouse.c
index 4ad32359..1164e78b 100644
--- a/src/ginput/mouse.c
+++ b/src/ginput/mouse.c
@@ -339,7 +339,7 @@ GSourceHandle ginputGetMouse(uint16_t instance) {
ginput_lld_mouse_init();
#if GINPUT_MOUSE_NEED_CALIBRATION
- #if GINPUT_MOUSE_LLD_CALIBRATION_LOADSAVE
+ #if 0
if (!MouseConfig.fnloadcal) {
MouseConfig.fnloadcal = ginput_lld_mouse_calibration_load;
MouseConfig.flags &= ~FLG_CAL_FREE;
@@ -548,11 +548,11 @@ void ginputSetMouseCalibrationRoutines(uint16_t instance, GMouseCalibrationSaveR
MouseConfig.flags &= ~FLG_CAL_FREE;
#if GINPUT_MOUSE_LLD_CALIBRATION_LOADSAVE
if (!MouseConfig.fnloadcal) {
- MouseConfig.fnloadcal = ginput_lld_mouse_calibration_load;
+ MouseConfig.fnloadcal = fnload;
MouseConfig.flags &= ~FLG_CAL_FREE;
}
if (!MouseConfig.fnsavecal)
- MouseConfig.fnsavecal = ginput_lld_mouse_calibration_save;
+ MouseConfig.fnsavecal = fnsave;
#endif
if (MouseConfig.fnsavecal && (MouseConfig.flags & (FLG_CAL_OK|FLG_CAL_SAVED)) == FLG_CAL_OK) {
MouseConfig.fnsavecal(instance, (const uint8_t *)&MouseConfig.caldata, sizeof(MouseConfig.caldata));