diff options
| author | Robin Howard <robin@rhoward.id.au> | 2023-10-28 13:25:50 +1100 |
|---|---|---|
| committer | Robin Howard <robin@rhoward.id.au> | 2023-10-28 13:25:50 +1100 |
| commit | 18d90051c9145ead86d4da701a2bc54f45e4fb66 (patch) | |
| tree | 38238375a002dbb599f614b1b9d0e73de0876a60 /src/ui/encoder_input.cpp | |
| parent | 6ef0fa2b1b75f2afd3beaf112b6a29a989ce49d8 (diff) | |
| download | tangara-fw-18d90051c9145ead86d4da701a2bc54f45e4fb66.tar.gz | |
Annotates the kTag with maybe_unused; they're only used for logging.
Diffstat (limited to 'src/ui/encoder_input.cpp')
| -rw-r--r-- | src/ui/encoder_input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/encoder_input.cpp b/src/ui/encoder_input.cpp index f6a981a7..b27c2862 100644 --- a/src/ui/encoder_input.cpp +++ b/src/ui/encoder_input.cpp @@ -23,7 +23,7 @@ #include "touchwheel.hpp" #include "ui_events.hpp" -static constexpr char kTag[] = "input"; +[[maybe_unused]] static constexpr char kTag[] = "input"; constexpr int kDPadAngleThreshold = 20; constexpr int kLongPressDelayMs = 500; |
