From ddce0f3215746d6884acb94f3cedc613008aed5c Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Thu, 27 Aug 2020 00:39:49 +0300 Subject: 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. --- .../PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup') 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(); -- cgit v1.3.1