基础响应功能的实现
This commit is contained in:
+1
-1
@@ -8,10 +8,10 @@
|
||||
class OTAHandler {
|
||||
public:
|
||||
bool ota_active;
|
||||
u32 ota_time;
|
||||
uint32_t received_size;
|
||||
uint32_t expected_size;
|
||||
|
||||
OTAHandler();
|
||||
void init();
|
||||
void process();
|
||||
bool isActive() const { return ota_active; }
|
||||
|
||||
Reference in New Issue
Block a user