upgrading to current Sming api
parent
61b438e420
commit
c1f1bc2020
|
@ -98,7 +98,7 @@ void ImplementationEndpoint::startOTA() {
|
|||
notify("ota", "started");
|
||||
}
|
||||
|
||||
void ImplementationEndpoint::otaUpdateCallback(bool result) {
|
||||
void ImplementationEndpoint::otaUpdateCallback(rBootHttpUpdate& updater, bool result) {
|
||||
if(result == true) {
|
||||
// success
|
||||
notify("ota", "finished");
|
||||
|
|
|
@ -86,7 +86,7 @@ public:
|
|||
ImplementationEndpoint() : Endpoint("$implementation") {}
|
||||
|
||||
EndpointResult onValue(String property, String value);
|
||||
void otaUpdateCallback(bool result);
|
||||
void otaUpdateCallback(rBootHttpUpdate& updater, bool result);
|
||||
void startOTA();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue