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/touchwheel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/touchwheel.cpp') 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; -- cgit v1.2.3