summaryrefslogtreecommitdiff
path: root/tinyusb
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-29 18:10:01 +0700
committerhathach <[email protected]>2018-03-29 18:10:01 +0700
commit97db3c7c3d7cfbbb19dbda09809aa39bb19608b9 (patch)
treed7a1461e5c658e7ccc59f71891ccc4ab8cdcc639 /tinyusb
parente2f97443694c5f8ffd4657055a4caaffab153f2c (diff)
update nrf52 hal millis
Diffstat (limited to 'tinyusb')
-rw-r--r--tinyusb/portable/nordic/nrf5x/hal_nrf5x.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c b/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c
index 4cb7f076e..e3d27e556 100644
--- a/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c
+++ b/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c
@@ -56,13 +56,6 @@
/* FUNCTION DECLARATION
*------------------------------------------------------------------*/
-volatile uint32_t system_ticks = 0;
-
-void SysTick_Handler (void)
-{
- system_ticks++;
-}
-
bool tusb_hal_init(void)
{
@@ -81,12 +74,4 @@ void tusb_hal_int_disable(uint8_t rhport)
NVIC_DisableIRQ(USBD_IRQn);
}
-uint32_t tusb_hal_millis(void)
-{
- //#define tick2ms(tck) ( ( ((uint64_t)(tck)) * 1000) / configTICK_RATE_HZ )
- //return tick2ms( app_timer_cnt_get() );
-
- return system_ticks;
-}
-
#endif