Merge pull request #9 from kuangdazzidd/master

print_info添加const修饰
This commit is contained in:
朱天龙 (Armink)
2017-12-12 08:04:57 +08:00
committed by GitHub
+1 -1
View File
@@ -101,7 +101,7 @@ enum {
PRINT_BFAR, PRINT_BFAR,
}; };
static const char *print_info[] = { static const char * const print_info[] = {
#if (CMB_PRINT_LANGUAGE == CMB_PRINT_LANGUAGE_ENGLISH) #if (CMB_PRINT_LANGUAGE == CMB_PRINT_LANGUAGE_ENGLISH)
[PRINT_FIRMWARE_INFO] = "Firmware name: %s, hardware version: %s, software version: %s", [PRINT_FIRMWARE_INFO] = "Firmware name: %s, hardware version: %s, software version: %s",
[PRINT_ASSERT_ON_THREAD] = "Assert on thread %s", [PRINT_ASSERT_ON_THREAD] = "Assert on thread %s",