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 28a8073

Browse filesBrowse files
authored
Fix issue 4095 (espressif#4503)
pgmspace.h missing 'pgm_get_far_address'
1 parent 486a4c6 commit 28a8073
Copy full SHA for 28a8073

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎cores/esp32/pgmspace.h

Copy file name to clipboardExpand all lines: cores/esp32/pgmspace.h
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ typedef unsigned long prog_uint32_t;
5353
*(void * const *)(_addr); \
5454
})
5555

56+
#define pgm_get_far_address(x) ((uint32_t)(&(x)))
57+
5658
#define pgm_read_byte_near(addr) pgm_read_byte(addr)
5759
#define pgm_read_word_near(addr) pgm_read_word(addr)
5860
#define pgm_read_dword_near(addr) pgm_read_dword(addr)

0 commit comments

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