summaryrefslogtreecommitdiff
path: root/controller/fw/sr_global.h
diff options
context:
space:
mode:
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__ */