mirror of https://github.com/ARMmbed/mbed-os.git
replace a use of __INLINE with inline
parent
71407656d2
commit
8febc5aa93
|
@ -126,7 +126,7 @@ void rtc1_stop(void)
|
||||||
*
|
*
|
||||||
* @return Current RTC1 counter as a 32-bit value (even though the underlying counter is 24-bit)
|
* @return Current RTC1 counter as a 32-bit value (even though the underlying counter is 24-bit)
|
||||||
*/
|
*/
|
||||||
static __INLINE uint32_t rtc1_getCounter(void)
|
static inline uint32_t rtc1_getCounter(void)
|
||||||
{
|
{
|
||||||
if (NRF_RTC1->EVENTS_OVRFLW) {
|
if (NRF_RTC1->EVENTS_OVRFLW) {
|
||||||
overflowCount++;
|
overflowCount++;
|
||||||
|
|
Loading…
Reference in New Issue