summaryrefslogtreecommitdiff
path: root/controller/fw/sr_global.h
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-02-24 20:19:40 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-02-24 20:19:40 +0100
commit031380141d9d000ceab505845ed2b723cb597774 (patch)
tree1daefaa619efec180263d14f930f6ab68dd1368d /controller/fw/sr_global.h
parent23a1333abe125ff2dd4a1493dd6553ddccf84514 (diff)
downloadmaster-thesis-031380141d9d000ceab505845ed2b723cb597774.tar.gz
master-thesis-031380141d9d000ceab505845ed2b723cb597774.tar.bz2
master-thesis-031380141d9d000ceab505845ed2b723cb597774.zip
controller-fw: initial jtag programming draft
Diffstat (limited to 'controller/fw/sr_global.h')
-rw-r--r--controller/fw/sr_global.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/controller/fw/sr_global.h b/controller/fw/sr_global.h
new file mode 100644
index 0000000..8aa219d
--- /dev/null
+++ b/controller/fw/sr_global.h
@@ -0,0 +1,8 @@
+#ifndef __SR_GLOBAL_H__
+#define __SR_GLOBAL_H__
+
+#define UNUSED(x) ((void) x)
+
+static inline uint16_t htole(uint16_t val) { return val; }
+
+#endif /* __SR_GLOBAL_H__ */