Commit 5b9da76d authored by Sandeep Mistry's avatar Sandeep Mistry

Fix warning

parent 49435450
...@@ -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 (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment