summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/tusb_debug.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common/tusb_debug.h b/src/common/tusb_debug.h
index e0e09f5ce..470a8a18b 100644
--- a/src/common/tusb_debug.h
+++ b/src/common/tusb_debug.h
@@ -117,12 +117,7 @@ static inline const char* tu_lookup_find(tu_lookup_table_t const* p_table, uint3
}
}
- // not found return the key value in hex
- static char not_found[11];
- if (snprintf(not_found, sizeof(not_found), "0x%08lX", (unsigned long) key) <= 0) {
- not_found[0] = 0;
- }
- return not_found;
+ return "NotFound";
}
#endif // CFG_TUSB_DEBUG