From 70d3ef313548181a2c3cf04e361f892778ac8f5a Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Fri, 29 May 2020 21:13:33 +0200 Subject: [PATCH] lets remove clang-tidy again --- platformio.ini | 2 +- src/LoRa_APRS_Tracker.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 26f9bef..351f2d8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -4,7 +4,7 @@ framework = arduino board = ttgo-t-beam lib_ldf_mode = deep+ monitor_speed = 115200 -check_tool = cppcheck, clangtidy +check_tool = cppcheck check_flags = cppcheck: --suppress=*:*.pio\* diff --git a/src/LoRa_APRS_Tracker.cpp b/src/LoRa_APRS_Tracker.cpp index 1610c9d..81099bd 100644 --- a/src/LoRa_APRS_Tracker.cpp +++ b/src/LoRa_APRS_Tracker.cpp @@ -25,6 +25,7 @@ void setup_lora(); int next_update = -1; +// cppcheck-suppress unusedFunction void setup() { Serial.begin(115200); @@ -43,6 +44,7 @@ void setup() delay(500); } +// cppcheck-suppress unusedFunction void loop() { static int update_min = -1;