Skip to content

Commit ede837d

Browse files
committed
Nordic - reorder __INLINE qualification to avoid warning.
1 parent 4ae2453 commit ede837d

File tree

1 file changed

+2
-2
lines changed
  • hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay

1 file changed

+2
-2
lines changed

hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ __STATIC_INLINE void nrf_delay_us(uint32_t volatile number_of_us)
159159

160160
#elif defined ( __GNUC__ )
161161

162-
static void __INLINE nrf_delay_us(uint32_t volatile number_of_us) __attribute__((always_inline));
163-
static void __INLINE nrf_delay_us(uint32_t volatile number_of_us)
162+
static __INLINE void nrf_delay_us(uint32_t volatile number_of_us) __attribute__((always_inline));
163+
static __INLINE void nrf_delay_us(uint32_t volatile number_of_us)
164164
{
165165
register uint32_t delay __ASM ("r0") = number_of_us;
166166
__ASM volatile (

0 commit comments

Comments
 (0)