fix(firmware): potential crash when using multi protocol module. (#7039)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
philmoz
2026-01-27 16:33:43 +10:00
committed by GitHub
co-authored by philmoz
parent 527ec89895
commit 0087e258f9
3 changed files with 8 additions and 5 deletions
+1
View File
@@ -106,6 +106,7 @@ void formatNumberAsString(char *buffer, const uint8_t buffer_size, int32_t val,
#if !defined(BOOT)
char *getStringAtIndex(char *dest, const char *const *s, int idx);
std::string getStringAtIndex(const char *const *s, int idx);
char *strAppendStringWithIndex(char *dest, const char *s, int idx);
#define LEN_TIMER_STRING 10 // "-00:00:00"
char *getTimerString(char *dest, int32_t tme,