From e54f3b469dcff339151a4841f4ea4ea91133ae71 Mon Sep 17 00:00:00 2001 From: Mitchell M Date: Wed, 28 Aug 2024 17:56:43 -0500 Subject: [PATCH] suppress unused warning on TAG --- main/steps/step1.cpp | 1 + main/steps/step2.cpp | 1 + main/steps/step3.cpp | 1 + main/steps/step4.cpp | 1 + main/steps/step5.cpp | 1 + main/steps/step6.cpp | 1 + 6 files changed, 6 insertions(+) diff --git a/main/steps/step1.cpp b/main/steps/step1.cpp index 5acfaa0..d8cd5b5 100644 --- a/main/steps/step1.cpp +++ b/main/steps/step1.cpp @@ -1,5 +1,6 @@ #include "step1.h" +__attribute__((unused)) static const char *TAG = "step1"; static char* COLOR_NAMES[] = { diff --git a/main/steps/step2.cpp b/main/steps/step2.cpp index 536313e..334c268 100644 --- a/main/steps/step2.cpp +++ b/main/steps/step2.cpp @@ -1,5 +1,6 @@ #include "step2.h" +__attribute__((unused)) static const char *TAG = "step2"; static const int NUM_SOLVES = 4; diff --git a/main/steps/step3.cpp b/main/steps/step3.cpp index 5007688..ca3dde3 100644 --- a/main/steps/step3.cpp +++ b/main/steps/step3.cpp @@ -4,6 +4,7 @@ #define THREE_SECOND_TIME 90'000 #define SIX_SECOND_TIME 75'000 +__attribute__((unused)) static const char *TAG = "step3"; static int tone = 0; diff --git a/main/steps/step4.cpp b/main/steps/step4.cpp index 1889a34..932ad66 100644 --- a/main/steps/step4.cpp +++ b/main/steps/step4.cpp @@ -1,5 +1,6 @@ #include "step4.h" +__attribute__((unused)) static const char *TAG = "step4"; static lv_obj_t* scr; diff --git a/main/steps/step5.cpp b/main/steps/step5.cpp index 49a602a..685d0fd 100644 --- a/main/steps/step5.cpp +++ b/main/steps/step5.cpp @@ -1,5 +1,6 @@ #include "step5.h" +__attribute__((unused)) static const char *TAG = "step5"; static const int TIMES_TO_SOLVE = 9; diff --git a/main/steps/step6.cpp b/main/steps/step6.cpp index 9be0e54..8e6f5b0 100644 --- a/main/steps/step6.cpp +++ b/main/steps/step6.cpp @@ -1,5 +1,6 @@ #include "step6.h" +__attribute__((unused)) static const char *TAG = "step6"; static uint8_t cut_wires = 0;