Updater: Store update file name in safety memory before executing updater. Currently name is hardcoded.

This commit is contained in:
2021-04-07 13:26:39 +02:00
parent dca839ce2e
commit bfdc3d3246
3 changed files with 5 additions and 3 deletions

View File

@@ -633,7 +633,7 @@ shellmatta_retCode_t shell_cmd_update(const shellmatta_handle_t handle, const ch
(void)arguments;
(void)length;
start_updater();
updater_update_from_file("update.hex");
return SHELLMATTA_OK;
}