mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix the following printfs, as reported by cppcheck:
canutils/libobd2/obd_decodepid.c:85:9: error: printf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum]
printf("Supported PIDs: %08X\n");
^
canutils/libobd2/obd_decodepid.c:114:9: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]
printf("Throttle position = %d\% \n", (100 * dev->data[3])/255);
^
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
|
||
|---|---|---|
| .. | ||
| candump | ||
| canlib | ||
| cansend | ||
| libcanard | ||
| libcanutils | ||
| libobd2 | ||
| slcan | ||
| .gitignore | ||
| Make.defs | ||
| Makefile | ||