diff --git a/include/c_types.h b/include/c_types.h index 2cd6332a..36ef6d12 100644 --- a/include/c_types.h +++ b/include/c_types.h @@ -85,7 +85,7 @@ typedef enum { #endif /* ICACHE_FLASH */ #define TEXT_SECTION_ATTR __attribute__((section(".text"))) -#define RAM_CONST_ATTR __attribute__((section(".text"))) +#define RAM_CONST_ATTR __attribute__((section(".rodata"))) #ifndef __cplusplus typedef unsigned char bool;