From 1f07afc8f787fde70c052c9d31a28d409b44f54a Mon Sep 17 00:00:00 2001 From: "Zachary J. Fields" Date: Thu, 12 Sep 2024 12:07:41 -0500 Subject: [PATCH] fix: OTA build targets --- src/ota/interface/OTAInterface.h | 1 - src/ota/interface/OTAInterfaceNotecard.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ota/interface/OTAInterface.h b/src/ota/interface/OTAInterface.h index 7aa2e12c..bd2d42b7 100644 --- a/src/ota/interface/OTAInterface.h +++ b/src/ota/interface/OTAInterface.h @@ -87,7 +87,6 @@ class OTACloudProcessInterface: public CloudProcess { virtual void handleMessage(Message*); // virtual CloudProcess::State getState(); // virtual void hook(State s, void* action); - inline virtual void setConnection(ConnectionHandler * connection) { (void)connection; } virtual void update() { handleMessage(nullptr); } inline void approveOta() { policies |= Approved; } diff --git a/src/ota/interface/OTAInterfaceNotecard.h b/src/ota/interface/OTAInterfaceNotecard.h index dd4a2ddd..c4b3ce75 100644 --- a/src/ota/interface/OTAInterfaceNotecard.h +++ b/src/ota/interface/OTAInterfaceNotecard.h @@ -45,7 +45,7 @@ class OTADefaultCloudProcessInterface: public OTACloudProcessInterface { OTADefaultCloudProcessInterface(MessageStream *ms, Client* client=nullptr); virtual ~OTADefaultCloudProcessInterface(); - inline virtual void setConnection(ConnectionHandler * connection) override { _connection = connection; } + inline void setConnection(ConnectionHandler * connection) { _connection = connection; } protected: virtual State startOTA() override;