From 23caef859c862a9f94de5d581371b2690f175ea9 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 11 Mar 2018 00:16:10 +0700 Subject: adding nrf52840 port, able to blink led with pca10056 --- tinyusb/osal/osal_none.h | 1 - tinyusb/tusb_hal.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tinyusb') diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h index b93244e16..16e7021ac 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -53,7 +53,6 @@ //--------------------------------------------------------------------+ // TICK API //--------------------------------------------------------------------+ -uint32_t hal_tick_get(void); #define osal_tick_get hal_tick_get //--------------------------------------------------------------------+ diff --git a/tinyusb/tusb_hal.h b/tinyusb/tusb_hal.h index 7560d6ff6..024129c96 100644 --- a/tinyusb/tusb_hal.h +++ b/tinyusb/tusb_hal.h @@ -84,6 +84,8 @@ void hal_usb_int_enable(uint8_t port); */ void hal_usb_int_disable(uint8_t port); +uint32_t hal_tick_get(void); + // for debug only, halt mcu if assert/verify is failed if debugger is attached void hal_debugger_breakpoint(void); -- cgit v1.3.1