aboutsummaryrefslogtreecommitdiff
path: root/stm-init.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-04-14 18:50:38 -0400
committerPaul Selkirk <paul@psgd.org>2016-04-14 18:50:38 -0400
commit4a38cf6f44d1c013cbe794093ea6c5b50337431a (patch)
tree148201449b481794ff839cd15d335f40e0f91c9d /stm-init.h
parent79b1ba7104dba52dbfacf11a07305702889f440b (diff)
import mbed rtos library
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 */