Commit 6ec4ad3e authored by Vowstar's avatar Vowstar
Browse files

Merge pull request #538 from DiUS/dev

Fixed RAM_CONST_ATTR macro.
parents 67d785ff ebfc8086
...@@ -85,7 +85,7 @@ typedef enum { ...@@ -85,7 +85,7 @@ typedef enum {
#endif /* ICACHE_FLASH */ #endif /* ICACHE_FLASH */
#define TEXT_SECTION_ATTR __attribute__((section(".text"))) #define TEXT_SECTION_ATTR __attribute__((section(".text")))
#define RAM_CONST_ATTR __attribute__((section(".text"))) #define RAM_CONST_ATTR __attribute__((section(".rodata")))
#ifndef __cplusplus #ifndef __cplusplus
typedef unsigned char bool; typedef unsigned char bool;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment