diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-08-27 00:39:49 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-08-27 00:39:49 +0300 |
| commit | ddce0f3215746d6884acb94f3cedc613008aed5c (patch) | |
| tree | f9338c5358064cad26c0c2cecb80647e3a4eac85 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup | |
| parent | 415e7387f7daef038430016b41d16bc5b8cfa0d8 (diff) | |
| download | Tango-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')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 2 |
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(); |
