diff options
-rw-r--r-- | firmware/src/data_link.h | 5 | ||||
-rw-r--r-- | firmware/src/eui64.h | 5 |
2 files changed, 10 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 diff --git a/firmware/src/eui64.h b/firmware/src/eui64.h index b7a8a6f..9b11c33 100644 --- a/firmware/src/eui64.h +++ b/firmware/src/eui64.h @@ -1,3 +1,6 @@ +#ifndef EUI64_H +#define EUI64_H + #include <zephyr/devicetree.h> /* 2 chars per byte (hex), 1 char per ':' delimiter and one char for \0 */ @@ -6,3 +9,5 @@ uint64_t eui64_get(void); void eui64_to_string(uint64_t, char *str); bool eui64_available(void); + +#endif // EUI64_H |