From 2110ea50c5a9dcf10046fb986a80aa7d65f8b1f2 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Thu, 14 Jun 2018 17:02:40 +0100 Subject: [PATCH] Add OTA.{Begin,Write,End} CL: Add OTA.{Begin,Write,End} PUBLISHED_FROM=2b202f4b7a76f3a3c9a9c02b65c6cde86754cb72 --- fw/src/mgos_updater_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/src/mgos_updater_common.c b/fw/src/mgos_updater_common.c index 5b8def40e..9280e454a 100644 --- a/fw/src/mgos_updater_common.c +++ b/fw/src/mgos_updater_common.c @@ -848,7 +848,7 @@ void mgos_upd_set_event_cb(mgos_upd_event_cb cb, void *cb_arg) { const char *mgos_ota_state_str(enum mgos_ota_state state) { switch (state) { case MGOS_OTA_STATE_NONE: - return ""; + return "not initialised"; case MGOS_OTA_STATE_INIT: return "init"; case MGOS_OTA_STATE_BEGIN: