File tree 3 files changed +12
-9
lines changed
3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 107
107
#define BOARD_HAS_SECURE_ELEMENT
108
108
#endif
109
109
110
- #endif // HAS_NOTECARD
111
-
112
110
#if defined(ARDUINO_SAMD_MKRWIFI1010 ) || defined(ARDUINO_SAMD_NANO_33_IOT )
113
111
#define OTA_STORAGE_SNU (1)
114
112
#else
115
113
#define OTA_STORAGE_SNU (0)
116
114
#endif
117
115
118
- #if defined(ARDUINO_NANO_RP2040_CONNECT )
119
- #define OTA_STORAGE_SFU (1)
120
- #else
121
- #define OTA_STORAGE_SFU (0)
116
+ #if defined(ARDUINO_UNOR4_WIFI )
117
+ #define OTA_STORAGE_ESP (1)
122
118
#endif
123
119
124
120
#ifdef ARDUINO_SAMD_MKRGSM1400
127
123
#define OTA_STORAGE_SSU (0)
128
124
#endif
129
125
126
+ #endif // !defined(HAS_NOTECARD)
127
+
128
+ #if defined(ARDUINO_NANO_RP2040_CONNECT )
129
+ #define OTA_STORAGE_SFU (1)
130
+ #else
131
+ #define OTA_STORAGE_SFU (0)
132
+ #endif
133
+
130
134
#if defined(ARDUINO_PORTENTA_H7_M7 ) || defined(ARDUINO_NICLA_VISION ) || defined(ARDUINO_OPTA ) || defined(ARDUINO_GIGA )
131
135
#define OTA_STORAGE_PORTENTA_QSPI (1)
132
136
#else
133
137
#define OTA_STORAGE_PORTENTA_QSPI (0)
134
138
#endif
135
139
136
- #if defined(ARDUINO_ARCH_ESP32 ) || defined( ARDUINO_UNOR4_WIFI )
140
+ #if defined(ARDUINO_ARCH_ESP32 )
137
141
#define OTA_STORAGE_ESP (1)
138
142
#endif
139
143
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ class OTACloudProcessInterface: public CloudProcess {
87
87
virtual void handleMessage (Message*);
88
88
// virtual CloudProcess::State getState();
89
89
// virtual void hook(State s, void* action);
90
- inline virtual void setConnection (ConnectionHandler * connection) { (void )connection; }
91
90
virtual void update () { handleMessage (nullptr ); }
92
91
93
92
inline void approveOta () { policies |= Approved; }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class OTADefaultCloudProcessInterface: public OTACloudProcessInterface {
45
45
OTADefaultCloudProcessInterface (MessageStream *ms, Client* client=nullptr );
46
46
virtual ~OTADefaultCloudProcessInterface ();
47
47
48
- inline virtual void setConnection (ConnectionHandler * connection) override { _connection = connection; }
48
+ inline void setConnection (ConnectionHandler * connection) { _connection = connection; }
49
49
50
50
protected:
51
51
virtual State startOTA () override ;
You can’t perform that action at this time.
0 commit comments