summaryrefslogtreecommitdiff
path: root/examples/device/nrf52840/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-11 13:20:43 +0700
committerhathach <[email protected]>2018-03-11 13:20:43 +0700
commitbf9fc1b31861c563253e429cbc10ed7362612d5b (patch)
treee700320c01fbdb619e17fff469289c86b1503146 /examples/device/nrf52840/src
parentd0a810317fe9943d34effc021591ff78516ace51 (diff)
update examples
Diffstat (limited to 'examples/device/nrf52840/src')
-rw-r--r--examples/device/nrf52840/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/nrf52840/src/main.c b/examples/device/nrf52840/src/main.c
index 724cb96e2..f48ade9df 100644
--- a/examples/device/nrf52840/src/main.c
+++ b/examples/device/nrf52840/src/main.c
@@ -118,7 +118,7 @@ void led_blinking_task(void)
static uint32_t last_blink = 0;
// not enough time
- if ( last_blink + BLINK_INTEVAL > hal_tick_get() ) return;
+ if ( last_blink + BLINK_INTEVAL > tusb_hal_tick_get() ) return;
last_blink += BLINK_INTEVAL;