Merge pull request #56 from lora-aprs/cppcheck_fix

fixing cppcheck issues
This commit is contained in:
Peter Buchegger 2021-01-09 13:26:45 +01:00 committed by GitHub
commit 80376b80ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -16,7 +16,7 @@ jobs:
- run: pip3 install platformio
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- uses: actions/checkout@v2
- run: platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high --skip-packages --flags "--suppress=*:*.pio\* --inline-suppr" -v
- run: platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high --skip-packages
PlatformIO-Build:
runs-on: ubuntu-latest

View file

@ -16,7 +16,7 @@ lib_deps =
peterus/LoRa-APRS-Lib @ 0.0.5
check_tool = cppcheck
check_flags =
cppcheck: --suppress=*:*.pio\* --inline-suppr
cppcheck: --suppress=*:*.pio\* --inline-suppr -DCPPCHECK --force
monitor_flags = --raw
# activate for OTA Update, use the CALLSIGN from is-cfg.h as upload_port:
#upload_protocol = espota

View file

@ -4,7 +4,9 @@
#include <list>
#include <Arduino.h>
#ifndef CPPCHECK
#include <ArduinoJson.h>
#endif
class Configuration
{