summaryrefslogtreecommitdiff
path: root/src/drivers/touchwheel.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/touchwheel.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/touchwheel.cpp')
-rw-r--r--src/drivers/touchwheel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/touchwheel.cpp b/src/drivers/touchwheel.cpp
index cad3433d..697f9881 100644
--- a/src/drivers/touchwheel.cpp
+++ b/src/drivers/touchwheel.cpp
@@ -24,7 +24,7 @@ namespace drivers {
// Touch wheel implementation using a Microchip AT42QT2120
-static const char* kTag = "TOUCHWHEEL";
+[[maybe_unused]] static const char* kTag = "TOUCHWHEEL";
static const uint8_t kTouchWheelAddress = 0x1C;
static const gpio_num_t kIntPin = GPIO_NUM_25;