aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2020-02-10 13:33:02 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-02-10 13:33:02 +0200
commit35cef16ffc96b06f68f122361ea84030169bb730 (patch)
tree1cd239e14c8ab6733ac7225e4b39bdd282c83a9f /Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
parent1ae720e9052b2419200c113ad1fa42550382e6c7 (diff)
downloadTango-35cef16ffc96b06f68f122361ea84030169bb730.tar.gz
Tango-35cef16ffc96b06f68f122361ea84030169bb730.zip
Some fixes on transport layer.
Fix on machine operator upgrade firmware.. Fix on SessionFileLogger. Fix on PPC jobs view. Fix on Tech Catalog View.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
index 2528746f8..9db3f17e2 100644
--- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
@@ -1236,6 +1236,7 @@ namespace Tango.Integration.Operation
}
catch (Exception ex)
{
+ SessionLogger.EndSession();
await base.Disconnect();
throw ex;
}
@@ -3384,7 +3385,7 @@ namespace Tango.Integration.Operation
{
if (FirmwareUpgradeMode.HasFlag(FirmwareUpgradeModes.DFU))
{
- if (!package_info.ContainsMcu())
+ if (package_info.ContainsMcu())
{
LogManager.Log("DFU enabled. Starting upgrade via DFU...");
LogManager.Log("Extracting MCU file...");