mirror of
https://github.com/armink/CmBacktrace.git
synced 2025-01-08 20:16:17 +08:00
print_info添加const修饰
This commit is contained in:
parent
5349ab2f15
commit
776e4f5477
@ -101,7 +101,7 @@ enum {
|
||||
PRINT_BFAR,
|
||||
};
|
||||
|
||||
static const char *print_info[] = {
|
||||
static const char * const print_info[] = {
|
||||
#if (CMB_PRINT_LANGUAGE == CMB_PRINT_LANGUAGE_ENGLISH)
|
||||
[PRINT_FIRMWARE_INFO] = "Firmware name: %s, hardware version: %s, software version: %s",
|
||||
[PRINT_ASSERT_ON_THREAD] = "Assert on thread %s",
|
||||
|
Loading…
x
Reference in New Issue
Block a user