This commit is contained in:
J. Nick Koston
2025-11-28 14:14:03 -06:00
parent b1a318c0d7
commit e3dc9a715f
+2
View File
@@ -67,6 +67,7 @@ class OTABackend {
*/
class OTAStateListener {
public:
virtual ~OTAStateListener() = default;
virtual void on_ota_state(OTAState state, float progress, uint8_t error) = 0;
};
@@ -99,6 +100,7 @@ class OTAComponent : public Component {
*/
class OTAGlobalStateListener {
public:
virtual ~OTAGlobalStateListener() = default;
virtual void on_ota_global_state(OTAState state, float progress, uint8_t error, OTAComponent *component) = 0;
};