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:
Gregory Nutt 2019-10-22 08:17:59 -06:00
parent f506e2bd72
commit 7dc2b7285e

View File

@ -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 */