Update RadioLib
This commit is contained in:
parent
a8257c0cb2
commit
16bc3e2b42
46 changed files with 1102 additions and 97 deletions
18
lib/RadioLib/extras/cppcheck/check_file.sh
Normal file
18
lib/RadioLib/extras/cppcheck/check_file.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $# -lt 1 ]]; then
|
||||
echo "Usage: $0 <path to check>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
path=$1
|
||||
|
||||
cppcheck --version
|
||||
cppcheck $path --enable=all \
|
||||
--force \
|
||||
--inline-suppr \
|
||||
--suppress=ConfigurationNotChecked \
|
||||
--suppress=unusedFunction \
|
||||
--suppress=missingIncludeSystem \
|
||||
--suppress=missingInclude \
|
||||
--quiet
|
||||
Loading…
Add table
Add a link
Reference in a new issue