]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fix EEPROM.h inclusion error
authorjacob.eva <x00010@disroot.org>
Sat, 20 Jan 2024 11:35:57 +0000 (11:35 +0000)
committerjacob.eva <x00010@disroot.org>
Sat, 20 Jan 2024 11:35:57 +0000 (11:35 +0000)
Utilities.h

index a3597a418f433c0109e3dfcfb60a4b6a90f31924..fe61b7c9c5118d86f5c449bac7b6e976712c3cf0 100644 (file)
@@ -13,6 +13,8 @@
 // You should have received a copy of the GNU General Public License
 // along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
+#include "Config.h"
+
 #if HAS_EEPROM 
     #include <EEPROM.h>
 #elif PLATFORM == PLATFORM_NRF52
@@ -20,7 +22,6 @@
     int written_bytes = 0;
 #endif
 #include <stddef.h>
-#include "Config.h"
 #include "LoRa.h"
 #include "ROM.h"
 #include "Framing.h"