diff options
Diffstat (limited to 'stm32l4xx_it.c')
-rw-r--r-- | stm32l4xx_it.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/stm32l4xx_it.c b/stm32l4xx_it.c index 999bd04..c3bd859 100644 --- a/stm32l4xx_it.c +++ b/stm32l4xx_it.c @@ -1,13 +1,5 @@ #include <stdint.h>
-static uint32_t ticks = 0;
-
-void delay(uint32_t count)
-{
- uint32_t target = ticks + count;
- while (ticks < target);
-}
-
void NMI_Handler(void) {}
void HardFault_Handler(void)
@@ -34,10 +26,3 @@ void SVC_Handler(void) {} void DebugMon_Handler(void) {}
-void PendSV_Handler(void) {}
-
-void SysTick_Handler(void)
-{
- ticks++;
-}
-
|