From c1f1bc2020dfc801852de81bbb03988876332cf6 Mon Sep 17 00:00:00 2001 From: vuko Date: Wed, 8 Feb 2017 17:16:39 +0100 Subject: [PATCH] upgrading to current Sming api --- spejsiot/Endpoint.cpp | 2 +- spejsiot/Endpoint.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spejsiot/Endpoint.cpp b/spejsiot/Endpoint.cpp index 89669ce..a4d9a0d 100644 --- a/spejsiot/Endpoint.cpp +++ b/spejsiot/Endpoint.cpp @@ -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"); diff --git a/spejsiot/Endpoint.h b/spejsiot/Endpoint.h index 636b10a..d60b4f9 100644 --- a/spejsiot/Endpoint.h +++ b/spejsiot/Endpoint.h @@ -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(); };