summaryrefslogtreecommitdiff
path: root/src/drivers/display.cpp
diff options
context:
space:
mode:
authorRobin Howard <robin@rhoward.id.au>2023-10-28 13:25:50 +1100
committerRobin Howard <robin@rhoward.id.au>2023-10-28 13:25:50 +1100
commit18d90051c9145ead86d4da701a2bc54f45e4fb66 (patch)
tree38238375a002dbb599f614b1b9d0e73de0876a60 /src/drivers/display.cpp
parent6ef0fa2b1b75f2afd3beaf112b6a29a989ce49d8 (diff)
downloadtangara-fw-18d90051c9145ead86d4da701a2bc54f45e4fb66.tar.gz
Annotates the kTag with maybe_unused; they're only used for logging.
Diffstat (limited to 'src/drivers/display.cpp')
-rw-r--r--src/drivers/display.cpp2
1 files changed, 1 insertions, 1 deletions
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;