From 81014a595e8d0d41deed2358f0156758cbf9fe96 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 6 Feb 2017 21:53:51 +0100 Subject: [PATCH] flashtool: allow type U (update-package) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/d925655c3b3a5a0529d8c5db0ef1e42610b7ede5 Author: vanhofen Date: 2017-02-06 (Mon, 06 Feb 2017) Origin message was: ------------------ - flashtool: allow type U (update-package) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/system/flashtool.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/system/flashtool.cpp b/src/system/flashtool.cpp index 9b21a3ba8..20447b361 100644 --- a/src/system/flashtool.cpp +++ b/src/system/flashtool.cpp @@ -517,6 +517,8 @@ const char *CFlashVersionInfo::getReleaseCycle(void) const const char *CFlashVersionInfo::getType(void) const { + // TODO: localize it + switch (snapshot) { case '0': @@ -531,6 +533,8 @@ const char *CFlashVersionInfo::getType(void) const return "Settings"; case 'A': return "Addon"; + case 'U': + return "Update"; case 'T': return "Text"; default: