diff --git a/drivers/timers/oneshot.c b/drivers/timers/oneshot.c index 9c1204fa8c0..4dc15c440a6 100644 --- a/drivers/timers/oneshot.c +++ b/drivers/timers/oneshot.c @@ -312,7 +312,7 @@ int oneshot_register(FAR const char *devname, priv->od_lower = lower; lower->callback = oneshot_callback; - lower->arg = lower; + lower->arg = priv; nxmutex_init(&priv->od_lock);