aboutsummaryrefslogtreecommitdiff
path: root/stm-init.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm-init.h')
-rw-r--r--stm-init.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stm-init.h b/stm-init.h
index 60a728a..ed80d01 100644
--- a/stm-init.h
+++ b/stm-init.h
@@ -35,9 +35,12 @@
#ifndef __STM_INIT_H
#define __STM_INIT_H
+#include "cmsis_os.h"
#include "stm32f4xx_hal.h"
extern void stm_init(void);
extern void Error_Handler(void);
+#define HAL_Delay osDelay
+
#endif /* __STM_INIT_H */