From 71f05dc68f31e01b01bbd47d1d7454719b19cce4 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 1 Jun 2024 12:07:24 +0200 Subject: firmware: Fix missing include guards --- firmware/src/data_link.h | 5 +++++ firmware/src/eui64.h | 5 +++++ 2 files changed, 10 insertions(+) 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 #include @@ -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 /* 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 -- cgit v1.2.3-70-g09d2