aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/internal.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-02-01 10:14:56 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-02-06 22:03:09 -0500
commiteb8db46ca3dc23286da5cf5e1c23af2456080172 (patch)
treea594111424e8a51ed3b5082254282cfb35524aef /src/stm32f1/internal.h
parent1096075d9b2d10302abd42cfdeef155f145f64e1 (diff)
downloadkutter-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.h2
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