From 18d90051c9145ead86d4da701a2bc54f45e4fb66 Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Sat, 28 Oct 2023 13:25:50 +1100 Subject: Annotates the kTag with maybe_unused; they're only used for logging. --- src/drivers/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/display.cpp') diff --git a/src/drivers/display.cpp b/src/drivers/display.cpp index a06320f4..cb3ee3a0 100644 --- a/src/drivers/display.cpp +++ b/src/drivers/display.cpp @@ -37,7 +37,7 @@ #include "spi.hpp" #include "tasks.hpp" -static const char* kTag = "DISPLAY"; +[[maybe_unused]] static const char* kTag = "DISPLAY"; // TODO(jacqueline): Encode width and height variations in the init data. static const uint8_t kDisplayHeight = 128 + 2; -- cgit v1.2.3