suppress unused warning on TAG

This commit is contained in:
Mitchell Marino 2024-08-28 17:56:43 -05:00
parent 0b816aca68
commit e54f3b469d
6 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#include "step1.h" #include "step1.h"
__attribute__((unused))
static const char *TAG = "step1"; static const char *TAG = "step1";
static char* COLOR_NAMES[] = { static char* COLOR_NAMES[] = {

View File

@ -1,5 +1,6 @@
#include "step2.h" #include "step2.h"
__attribute__((unused))
static const char *TAG = "step2"; static const char *TAG = "step2";
static const int NUM_SOLVES = 4; static const int NUM_SOLVES = 4;

View File

@ -4,6 +4,7 @@
#define THREE_SECOND_TIME 90'000 #define THREE_SECOND_TIME 90'000
#define SIX_SECOND_TIME 75'000 #define SIX_SECOND_TIME 75'000
__attribute__((unused))
static const char *TAG = "step3"; static const char *TAG = "step3";
static int tone = 0; static int tone = 0;

View File

@ -1,5 +1,6 @@
#include "step4.h" #include "step4.h"
__attribute__((unused))
static const char *TAG = "step4"; static const char *TAG = "step4";
static lv_obj_t* scr; static lv_obj_t* scr;

View File

@ -1,5 +1,6 @@
#include "step5.h" #include "step5.h"
__attribute__((unused))
static const char *TAG = "step5"; static const char *TAG = "step5";
static const int TIMES_TO_SOLVE = 9; static const int TIMES_TO_SOLVE = 9;

View File

@ -1,5 +1,6 @@
#include "step6.h" #include "step6.h"
__attribute__((unused))
static const char *TAG = "step6"; static const char *TAG = "step6";
static uint8_t cut_wires = 0; static uint8_t cut_wires = 0;