diff options
| author | hathach <[email protected]> | 2018-03-29 18:10:01 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-29 18:10:01 +0700 |
| commit | 97db3c7c3d7cfbbb19dbda09809aa39bb19608b9 (patch) | |
| tree | d7a1461e5c658e7ccc59f71891ccc4ab8cdcc639 /examples/device/nrf52840/src | |
| parent | e2f97443694c5f8ffd4657055a4caaffab153f2c (diff) | |
update nrf52 hal millis
Diffstat (limited to 'examples/device/nrf52840/src')
| -rw-r--r-- | examples/device/nrf52840/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/nrf52840/src/main.c b/examples/device/nrf52840/src/main.c index 44e0b3ebf..203cd3f18 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 > tusb_hal_tick_get() ) return; + if ( last_blink + BLINK_INTEVAL > tusb_hal_millis() ) return; last_blink += BLINK_INTEVAL; |
