diff options
-rw-r--r-- | src/appcore-rotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appcore-rotation.c b/src/appcore-rotation.c index e4227cb..5d90526 100644 --- a/src/appcore-rotation.c +++ b/src/appcore-rotation.c @@ -128,7 +128,7 @@ static void __changed_cb(sensor_t sensor, unsigned int event_type, if (rot.callback) { if (rot.cb_set && rot.mode != m) { _DBG("[APP %d] Rotation: %d -> %d", getpid(), rot.mode, m); - rot.callback((void *)&m, m, data); + rot.callback((void *)&m, m, user_data); rot.mode = m; } } |