summaryrefslogtreecommitdiff
path: root/controller/fw/src/sr_global.h
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-18 12:59:22 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-18 12:59:22 +0100
commit13bd8d0f2dc6195b73e1c15a82fbc172b4cda310 (patch)
tree30562d3265894b8e745b61c0d49b0abee27f69cf /controller/fw/src/sr_global.h
parent4c7c927f3c1d24aa7ced382a5a417e5314e104c2 (diff)
downloadmaster-thesis-13bd8d0f2dc6195b73e1c15a82fbc172b4cda310.tar.gz
master-thesis-13bd8d0f2dc6195b73e1c15a82fbc172b4cda310.tar.bz2
master-thesis-13bd8d0f2dc6195b73e1c15a82fbc172b4cda310.zip
Improve detector
Diffstat (limited to 'controller/fw/src/sr_global.h')
-rw-r--r--controller/fw/src/sr_global.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/controller/fw/src/sr_global.h b/controller/fw/src/sr_global.h
index 451cce0..97db4e4 100644
--- a/controller/fw/src/sr_global.h
+++ b/controller/fw/src/sr_global.h
@@ -2,9 +2,12 @@
#define __SR_GLOBAL_H__
#include <stdint.h>
+#include <sys/types.h>
+
+#ifndef SIMULATION
#include <stm32f407xx.h>
#include <stm32f4_isr.h>
-#include <sys/types.h>
+#endif
#define UNUSED(x) ((void) x)
#define ARRAY_LENGTH(x) (sizeof(x) / sizeof(x[0]))