Merged
authorLaurent Bessard
Tue, 30 Apr 2013 01:31:47 +0200
changeset 2141 6963460bfe0f
parent 2140 56643934495c (current diff)
parent 2135 ca1c34ff6c10 (diff)
child 2142 f407a0e154c5
Merged
etherlab/EthercatMaster.py
--- a/etherlab/EthercatMaster.py	Mon Apr 29 11:07:32 2013 +0200
+++ b/etherlab/EthercatMaster.py	Tue Apr 30 01:31:47 2013 +0200
@@ -702,7 +702,7 @@
         
         self.FileGenerator.GenerateCFile(Gen_Ethercatfile_path, location_str, self.BaseParams.getIEC_Channel())
         
-        LocationCFilesAndCFLAGS.append(
+        LocationCFilesAndCFLAGS.insert(0, 
             (current_location, 
              [(Gen_Ethercatfile_path, '"-I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath()))], 
              True))