diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-02-01 10:14:56 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-02-06 22:03:09 -0500 |
commit | eb8db46ca3dc23286da5cf5e1c23af2456080172 (patch) | |
tree | a594111424e8a51ed3b5082254282cfb35524aef /src/stm32f1/internal.h | |
parent | 1096075d9b2d10302abd42cfdeef155f145f64e1 (diff) | |
download | kutter-eb8db46ca3dc23286da5cf5e1c23af2456080172.tar.gz kutter-eb8db46ca3dc23286da5cf5e1c23af2456080172.tar.xz kutter-eb8db46ca3dc23286da5cf5e1c23af2456080172.zip |
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>
Diffstat (limited to 'src/stm32f1/internal.h')
-rw-r--r-- | src/stm32f1/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |