mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 01:39:44 +08:00
arch/arm/src/s32k1xx/s32k1xx_flashcfg.c: Flash configuration array should be const (although it really does not matter in this context).
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
|
||||
/* Configured FLASH configuration bytes. NOTE: Little endian assumed. */
|
||||
|
||||
uint8_t g_flashcfg[16] __attribute__((section(".flashcfg"))) =
|
||||
const uint8_t g_flashcfg[16] __attribute__((section(".flashcfg"))) =
|
||||
{
|
||||
(uint8_t)(CONFIG_S32K1XX_FLASHCFG_BACKDOOR1 & 0xff), /* 0x0400 */
|
||||
(uint8_t)((CONFIG_S32K1XX_FLASHCFG_BACKDOOR1 >> 8) & 0xff), /* 0x0401 */
|
||||
|
||||
Reference in New Issue
Block a user