From eb8db46ca3dc23286da5cf5e1c23af2456080172 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 1 Feb 2019 10:14:56 -0500 Subject: stm32f1: Use internal functions for early USB gpio toggle Avoid using the "low-level" library timing utilities. This is in preparation for using SysTick as part of the timer implementation. Signed-off-by: Kevin O'Connor --- src/stm32f1/internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stm32f1/internal.h') diff --git a/src/stm32f1/internal.h b/src/stm32f1/internal.h index be9ea4d0..73aa179b 100644 --- a/src/stm32f1/internal.h +++ b/src/stm32f1/internal.h @@ -8,4 +8,6 @@ extern GPIO_TypeDef *const digital_regs[]; extern uint32_t const digital_pins[]; +void udelay(uint32_t usecs); + #endif // internal.h -- cgit v1.2.3-70-g09d2