Skip to content

Commit

Permalink
fix: OTA build targets
Browse files Browse the repository at this point in the history
  • Loading branch information
zfields committed Sep 12, 2024
1 parent 524094f commit 1f07afc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/ota/interface/OTAInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
2 changes: 1 addition & 1 deletion src/ota/interface/OTAInterfaceNotecard.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1f07afc

Please sign in to comment.