mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-02-06 15:54:17 +01:00
Merge pull request #56 from lora-aprs/cppcheck_fix
fixing cppcheck issues
This commit is contained in:
commit
80376b80ca
2
.github/workflows/build_check.yml
vendored
2
.github/workflows/build_check.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@
|
|||
#include <list>
|
||||
|
||||
#include <Arduino.h>
|
||||
#ifndef CPPCHECK
|
||||
#include <ArduinoJson.h>
|
||||
#endif
|
||||
|
||||
class Configuration
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue