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:
Nathan Hartman 2021-03-19 15:36:20 -04:00 committed by Xiang Xiao
parent 7c96a25ec1
commit 9eca886f26
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ static int qe_close(FAR struct file *filep)
/* Disable the QEncoder device */ /* Disable the QEncoder device */
DEBUGASSERT(lower->ops->shutdown != NULL); DEBUGASSERT(lower->ops->shutdown != NULL);
sninfo("calling shutdown: %d\n"); sninfo("calling shutdown\n");
lower->ops->shutdown(lower); lower->ops->shutdown(lower);
} }