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
5b9da76d
Commit
5b9da76d
authored
May 11, 2016
by
Sandeep Mistry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning
parent
49435450
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cores/nRF5/SDK/components/drivers_nrf/delay/nrf_delay.h
cores/nRF5/SDK/components/drivers_nrf/delay/nrf_delay.h
+2
-2
No files found.
cores/nRF5/SDK/components/drivers_nrf/delay/nrf_delay.h
View file @
5b9da76d
...
@@ -191,8 +191,8 @@ __STATIC_INLINE void nrf_delay_us(uint32_t volatile number_of_us)
...
@@ -191,8 +191,8 @@ __STATIC_INLINE void nrf_delay_us(uint32_t volatile number_of_us)
#elif defined ( __GNUC__ )
#elif defined ( __GNUC__ )
static
void
__INLINE
nrf_delay_us
(
uint32_t
volatile
number_of_us
)
__attribute__
((
always_inline
));
static
__INLINE
void
nrf_delay_us
(
uint32_t
volatile
number_of_us
)
__attribute__
((
always_inline
));
static
void
__INLINE
nrf_delay_us
(
uint32_t
volatile
number_of_us
)
static
__INLINE
void
nrf_delay_us
(
uint32_t
volatile
number_of_us
)
{
{
register
uint32_t
delay
__ASM
(
"r0"
)
=
number_of_us
;
register
uint32_t
delay
__ASM
(
"r0"
)
=
number_of_us
;
__ASM
volatile
(
__ASM
volatile
(
...
...
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