diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-06-09 20:26:30 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-06-09 20:27:57 -0400 |
commit | 700e35c6ac74a64719fbc38fe66386dd422613f3 (patch) | |
tree | 2a829c04c12f3b6393d842f1835c2f8f8df023dc /src/stm32f1/usbserial.c | |
parent | 97840f9851772ffbcc99b8e33c82b0af4770baa8 (diff) | |
download | kutter-700e35c6ac74a64719fbc38fe66386dd422613f3.tar.gz kutter-700e35c6ac74a64719fbc38fe66386dd422613f3.tar.xz kutter-700e35c6ac74a64719fbc38fe66386dd422613f3.zip |
armcm_timer: Unify udelay() implementation
Move the udelay() code from various arm board directories into the
src/generic/armcm_timer.c code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32f1/usbserial.c')
-rw-r--r-- | src/stm32f1/usbserial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm32f1/usbserial.c b/src/stm32f1/usbserial.c index 7eeb3421..3bdf86a8 100644 --- a/src/stm32f1/usbserial.c +++ b/src/stm32f1/usbserial.c @@ -6,6 +6,7 @@ #include <string.h> // NULL #include "autoconf.h" // CONFIG_STM_FLASH_START_2000 +#include "board/armcm_timer.h" // udelay #include "board/gpio.h" // gpio_out_setup #include "board/io.h" // writeb #include "board/irq.h" // irq_disable |