Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 503502f

Browse filesBrowse files
authored
Weak assignment in flash_hal (esp8266#8884)
The assignment done in FLASH_MAP_SETUP_CONFIG_ATTR did not apply the attribute to __flashdesc, and made it impossible to override it with FLASH_MAP_SETUP_CONFIG.
1 parent 32323e5 commit 503502f
Copy full SHA for 503502f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cores/esp8266/flash_hal.h

Copy file name to clipboardExpand all lines: cores/esp8266/flash_hal.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ extern const flash_map_s __flashdesc[];
4343

4444
#define FLASH_MAP_SETUP_CONFIG(conf) FLASH_MAP_SETUP_CONFIG_ATTR(,conf)
4545
#define FLASH_MAP_SETUP_CONFIG_ATTR(attr, conf...) \
46-
const flash_map_s __flashdesc[] PROGMEM = conf; \
46+
extern const flash_map_s __flashdesc[] PROGMEM attr = conf; \
4747
const char *flashinit (void) attr; \
4848
const char *flashinit (void) \
4949
{ \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.