From 02d972d3354b4d9334825dee1fb9d4aa458d3d02 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 5 Sep 2019 21:57:03 +0200 Subject: [PATCH] update: signalize ofgwrite's start in VFD Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d4e3ad43adb4b32768842ef1118cf4cf18a88f2d Author: vanhofen Date: 2019-09-05 (Thu, 05 Sep 2019) Origin message was: ------------------ - update: signalize ofgwrite's start in VFD --- src/gui/update.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/update.cpp b/src/gui/update.cpp index 0c2cd4cc9..5f248a490 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -42,6 +42,7 @@ #include #include +#include #include #include #include @@ -749,7 +750,11 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey) dprintf(DEBUG_NORMAL, "[update] calling %s %s %s %s\n", ofgwrite_caller.c_str(), g_settings.update_dir.c_str(), filename.c_str(), ofgwrite_options.c_str()); #ifndef DRYRUN if (flashing) + { + CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8); + CVFD::getInstance()->showMenuText(0, "ofgwrite Flashing Tool", -1, true); my_system(4, ofgwrite_caller.c_str(), g_settings.update_dir.c_str(), filename.c_str(), ofgwrite_options.c_str()); + } /* TODO: fix osd-flickering