upgrading to current Sming api

master
vuko 2017-02-08 17:16:39 +01:00
parent 61b438e420
commit c1f1bc2020
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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();
};