summaryrefslogtreecommitdiff
path: root/firmware/src/data_link.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-06-01 12:07:24 +0200
committerxengineering <me@xengineering.eu>2024-06-01 12:07:24 +0200
commit71f05dc68f31e01b01bbd47d1d7454719b19cce4 (patch)
tree7f227d6c260277c49c9e7d3aa75ed8461498d589 /firmware/src/data_link.h
parentdf38994a4a784cc7b794c3f2a3c7f08172ef51ad (diff)
downloadiot-core-71f05dc68f31e01b01bbd47d1d7454719b19cce4.tar
iot-core-71f05dc68f31e01b01bbd47d1d7454719b19cce4.tar.zst
iot-core-71f05dc68f31e01b01bbd47d1d7454719b19cce4.zip
firmware: Fix missing include guards
Diffstat (limited to 'firmware/src/data_link.h')
-rw-r--r--firmware/src/data_link.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/src/data_link.h b/firmware/src/data_link.h
index 359cb2b..d2a25a1 100644
--- a/firmware/src/data_link.h
+++ b/firmware/src/data_link.h
@@ -1,3 +1,6 @@
+#ifndef DATA_LINK_H
+#define DATA_LINK_H
+
#include <sys/types.h>
#include <zephyr/device.h>
@@ -8,3 +11,5 @@
void dl_send_frame(const struct device *const uart_dev, uint8_t *buffer,
size_t len);
+
+#endif // DATA_LINK_H