Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-nRF5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-nRF5
Commits
0ccd430d
Commit
0ccd430d
authored
Jul 13, 2020
by
orrmany
Committed by
Sandeep Mistry
Aug 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing pgm_read_ptr macro bug
parent
13664e77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cores/nRF5/avr/pgmspace.h
cores/nRF5/avr/pgmspace.h
+1
-1
No files found.
cores/nRF5/avr/pgmspace.h
View file @
0ccd430d
...
@@ -102,7 +102,7 @@ typedef const void* uint_farptr_t;
...
@@ -102,7 +102,7 @@ typedef const void* uint_farptr_t;
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
#define pgm_read_dword(addr) (*(const unsigned long *)(addr))
#define pgm_read_dword(addr) (*(const unsigned long *)(addr))
#define pgm_read_float(addr) (*(const float *)(addr))
#define pgm_read_float(addr) (*(const float *)(addr))
#define pgm_read_ptr(addr) (*(const void *)(addr))
#define pgm_read_ptr(addr) (*(const void
*
*)(addr))
#define pgm_read_byte_near(addr) pgm_read_byte(addr)
#define pgm_read_byte_near(addr) pgm_read_byte(addr)
#define pgm_read_word_near(addr) pgm_read_word(addr)
#define pgm_read_word_near(addr) pgm_read_word(addr)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment