summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSaulo VerĂ­ssimo <[email protected]>2026-05-16 21:44:22 -0300
committerSaulo VerĂ­ssimo <[email protected]>2026-05-16 21:44:22 -0300
commit478e04778b8674b5ef4bf2557d305a06871ac473 (patch)
tree88fa5a148ae996bef20a585fdccb3a67b616b526 /examples
parent7c214f9d4f47cfadf18fc7e67d15cc22b1bc6f99 (diff)
midi2: remove unused ump_noop helper
arm-clang fails with -Werror=unused-function; arm-gcc was silently omitting it via LTO. The helper was never called.
Diffstat (limited to 'examples')
-rw-r--r--examples/device/midi2_device/src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/device/midi2_device/src/main.c b/examples/device/midi2_device/src/main.c
index 2e2488752..cc918e198 100644
--- a/examples/device/midi2_device/src/main.c
+++ b/examples/device/midi2_device/src/main.c
@@ -72,10 +72,6 @@ static inline void ump_send_32(uint32_t w0) {
// -- Utility Messages (MT=0x0, 32-bit) --
-static inline void ump_noop(void) {
- ump_send_32(UMP_MT_UTILITY);
-}
-
static inline void ump_jr_timestamp(uint16_t timestamp) {
// Word 0: [MT(0x0) | Group(0) | Status(0x0020) | Timestamp(16-bit)]
ump_send_32(UMP_MT_UTILITY | 0x00200000 | (uint32_t)timestamp);