From c7a7e0129e7c7a0d6cd71cc7103bc30a657fe96e Mon Sep 17 00:00:00 2001 From: LasaleFamine Date: Wed, 24 Jul 2024 11:21:21 +0200 Subject: [PATCH] fix: smartflash extern --- src/DutyCycleHandler.cpp | 3 +++ src/DutyCycleHandler.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DutyCycleHandler.cpp b/src/DutyCycleHandler.cpp index 4c67d09..1533514 100644 --- a/src/DutyCycleHandler.cpp +++ b/src/DutyCycleHandler.cpp @@ -1,4 +1,7 @@ #include "DutyCycleHandler.h" +#include "SmartFlash.h" + +extern SmartFlash smartflash; DutyCycleHandler::DutyCycleHandler(lualtek_dowlink_command_dutycycle_index_t defaultDutyCycleIndex) : defaultDutyCycleIndex(defaultDutyCycleIndex), diff --git a/src/DutyCycleHandler.h b/src/DutyCycleHandler.h index ce8290e..497d336 100644 --- a/src/DutyCycleHandler.h +++ b/src/DutyCycleHandler.h @@ -2,9 +2,6 @@ #define _DUTYCYCLEHANDLER_H_ #include -#include "SmartFlash.h" - -extern SmartFlash smartflash; enum lualtek_dowlink_command_dutycycle_index_t {