aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-27 00:39:49 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-27 00:39:49 +0300
commitddce0f3215746d6884acb94f3cedc613008aed5c (patch)
treef9338c5358064cad26c0c2cecb80647e3a4eac85 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
parent415e7387f7daef038430016b41d16bc5b8cfa0d8 (diff)
downloadTango-ddce0f3215746d6884acb94f3cedc613008aed5c.tar.gz
Tango-ddce0f3215746d6884acb94f3cedc613008aed5c.zip
Improved machine operator firmware upgrade on emulated devices.
added isEmulated flag. Dropped the need to modify the FirmwareUpgrade mode when emulated due to this new flag.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
index 2177efecc..a2a750805 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
@@ -436,7 +436,7 @@ namespace Tango.PPC.Common.MachineSetup
UpdateProgress("Updating Firmware", "Loading firmware package...");
var tfpPath = Path.Combine(_newPackageTempFolder, "firmware_package.tfp");
var stream = new FileStream(tfpPath, FileMode.Open);
- var handler = await op.UpgradeFirmware(stream);
+ var handler = await op.UpgradeFirmware(stream, setup_response.IsDemo);
handler.Failed += (_, ex) =>
{
stream.Dispose();