Fix semantic error while compiling project including canfestival extension instances
authorLaurent Bessard
Wed, 27 Feb 2013 11:23:42 +0100
changeset 948 89fead207c35
parent 947 82e2a155a3ce
child 949 aa24cf3b7009
Fix semantic error while compiling project including canfestival extension instances
canfestival/canfestival.py
--- a/canfestival/canfestival.py	Wed Feb 27 11:08:30 2013 +0100
+++ b/canfestival/canfestival.py	Wed Feb 27 11:23:42 2013 +0100
@@ -114,7 +114,7 @@
         return os.path.join(self.CTNPath(), 'slave.od')
 
     def GetCanDevice(self):
-        return self.CanFestivalSlaveNode.getCan_Device()
+        return self.CanFestivalSlaveNode.getCAN_Device()
 
     def _OpenView(self, name=None, onlyopened=False):
         ConfigTreeNode._OpenView(self, name, onlyopened)
@@ -266,7 +266,7 @@
         self.SetNetworkName(self.BaseParams.getName())
     
     def GetCanDevice(self):
-        return self.CanFestivalNode.getCan_Device()
+        return self.CanFestivalNode.getCAN_Device()
     
     def SetParamsAttribute(self, path, value):
         if path == "CanFestivalNode.NodeId":