From 113832773ac52b5d2f9a7472bbd77b99c8e99c2b Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Thu, 22 Jul 2021 11:42:53 +0300 Subject: Skip head type check on emulator. --- Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MainViewVM.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MainViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MainViewVM.cs index 9074bcd4c..0ae50defa 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MainViewVM.cs @@ -264,7 +264,7 @@ namespace Tango.PPC.UI.ViewModels { NotificationProvider.PopNotification(_headTypeNotification); - if (MachineProvider.MachineOperator.DeviceInformation != null) + if (MachineProvider.MachineOperator.DeviceInformation != null && !MachineProvider.Machine.IsDemo) { if (MachineProvider.Machine.HeadType != (int)MachineProvider.MachineOperator.DeviceInformation.HeadType) { -- cgit v1.3.1