lpcmanager

b14d032ab0dc
Parents 9cb1cbceeadc
Children 1b048e9bada5
Fix ProductID matching - was comparing product with arch.
--- a/LPCProjectController.py Mon Nov 16 14:50:45 2020 +0100
+++ b/LPCProjectController.py Tue Nov 17 10:34:22 2020 +0100
@@ -11,7 +11,7 @@
from HostFirmwareUpdater import HostFirmwareUpdater
from plcopen.types_enums import ComputeConfigurationResourceName
-from LPCArch import GetLPCArch
+from LPCArch import GetLPCProduct
LPCStatusMethods = [
{"bitmap": "UpdateFw",
@@ -95,7 +95,7 @@
return result
def _Transfer(self):
- product_name = GetLPCArch().lower().replace("_","")
+ product_name = GetLPCProduct().lower().replace("_","")
if not self._connector.CheckProductID(product_name):
message = (_("Product ID doesn't match selected target type.\n"))
dialog = wx.MessageDialog(