From 4d27a0ccb9abe4c5cda578eccec029c540939cf1 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Thu, 15 Aug 2024 19:56:16 +1000 Subject: [PATCH] fix: `generate-yaml` breaks on myeeprom pragma once (#5437) --- radio/src/myeeprom.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/radio/src/myeeprom.h b/radio/src/myeeprom.h index fe880f70a..582153b11 100644 --- a/radio/src/myeeprom.h +++ b/radio/src/myeeprom.h @@ -19,7 +19,8 @@ * GNU General Public License for more details. */ -#pragma once +#ifndef _MYEEPROM_H_ +#define _MYEEPROM_H_ #include "datastructs.h" #include "bitfield.h" @@ -274,3 +275,5 @@ extern ModelData g_model; constexpr uint8_t EE_GENERAL = 0x01; constexpr uint8_t EE_MODEL = 0x02; constexpr uint8_t EE_LABELS = 0x04; + +#endif // _MYEEPROM_H_ \ No newline at end of file