- update: signalize ofgwrite's start in VFD

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-10-27 16:24:47 +01:00
committed by Thilo Graf
parent b624173e79
commit 71288139a5

View File

@@ -42,6 +42,7 @@
#include <neutrino_menue.h> #include <neutrino_menue.h>
#include <mymenu.h> #include <mymenu.h>
#include <driver/display.h>
#include <driver/fontrenderer.h> #include <driver/fontrenderer.h>
#include <driver/rcinput.h> #include <driver/rcinput.h>
#include <driver/screen_max.h> #include <driver/screen_max.h>
@@ -744,7 +745,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()); 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 #ifndef DRYRUN
if (flashing) 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()); my_system(4, ofgwrite_caller.c_str(), g_settings.update_dir.c_str(), filename.c_str(), ofgwrite_options.c_str());
}
/* /*
TODO: fix osd-flickering TODO: fix osd-flickering