File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/drivers_nrf/delay
hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,8 @@ __STATIC_INLINE void nrf_delay_us(uint32_t volatile number_of_us)
191
191
192
192
#elif defined ( __GNUC__ )
193
193
194
- static void __INLINE nrf_delay_us (uint32_t volatile number_of_us ) __attribute__((always_inline ));
195
- static void __INLINE nrf_delay_us (uint32_t volatile number_of_us )
194
+ static __INLINE void nrf_delay_us (uint32_t volatile number_of_us ) __attribute__((always_inline ));
195
+ static __INLINE void nrf_delay_us (uint32_t volatile number_of_us )
196
196
{
197
197
register uint32_t delay __ASM ("r0" ) = number_of_us ;
198
198
__ASM volatile (
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ __ASM (
45
45
" BNE loop\n\t" );
46
46
}
47
47
#elif defined ( __GNUC__ )
48
- __INLINE static void nrf_delay_us (uint32_t volatile number_of_us )
48
+ static __INLINE void nrf_delay_us (uint32_t volatile number_of_us )
49
49
{
50
50
do
51
51
{
You can’t perform that action at this time.
0 commit comments