From 66ab262203a4c7489df1a305781821f66cb8d489 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Fri, 29 May 2020 21:13:11 +0200 Subject: [PATCH] lets remove clang-tidy again --- platformio.ini | 2 +- src/LoRa_APRS_iGate.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index c168a0c..4607b61 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,7 +13,7 @@ lib_deps = APRS-Decoder-Lib NTPClient APRS-IS-Lib -check_tool = cppcheck, clangtidy +check_tool = cppcheck check_flags = cppcheck: --suppress=*:*.pio\* # activate for OTA Update, use the USER name from settings.h as upload_port: diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index dacae35..57ad79f 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -33,6 +33,7 @@ void setup_axp(); String BeaconMsg; +// cppcheck-suppress unusedFunction void setup() { Serial.begin(115200); @@ -61,6 +62,7 @@ void setup() delay(500); } +// cppcheck-suppress unusedFunction void loop() { timeClient.update();