mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
Fixed RAM_CONST_ATTR macro.
I must've gotten distracted halfway through that copy/paste job :(
This commit is contained in:
parent
67d785ffec
commit
ebfc808629
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user