mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
drivers/sensors/qencoder.c - Remove bad sninfo() format string
drivers/sensors/qencoder.c:
* qe_close(): Call to sninfo() contained extraneous "%d"
format specifier. Removing it, as it appears there was
never a matching argument.
This commit is contained in:
committed by
Xiang Xiao
parent
7c96a25ec1
commit
9eca886f26
@@ -222,7 +222,7 @@ static int qe_close(FAR struct file *filep)
|
||||
/* Disable the QEncoder device */
|
||||
|
||||
DEBUGASSERT(lower->ops->shutdown != NULL);
|
||||
sninfo("calling shutdown: %d\n");
|
||||
sninfo("calling shutdown\n");
|
||||
|
||||
lower->ops->shutdown(lower);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user