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 <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-02-01 10:14:56 -05:00
parent 1096075d9b
commit eb8db46ca3
3 changed files with 24 additions and 6 deletions

View File

@@ -8,4 +8,6 @@
extern GPIO_TypeDef *const digital_regs[];
extern uint32_t const digital_pins[];
void udelay(uint32_t usecs);
#endif // internal.h