Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit503502f

Browse 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 parent32323e5 commit503502f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cores/esp8266/flash_hal.h‎

Lines 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
#defineFLASH_MAP_SETUP_CONFIG(conf) FLASH_MAP_SETUP_CONFIG_ATTR(,conf)
4545
#defineFLASH_MAP_SETUP_CONFIG_ATTR(attr,conf...) \
46-
const flash_map_s __flashdesc[] PROGMEM = conf; \
46+
externconst flash_map_s __flashdesc[] PROGMEM attr = conf; \
4747
const char *flashinit (void) attr; \
4848
const char *flashinit (void) \
4949
{ \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp