# HG changeset patch # User Laurent Bessard # Date 1367278307 -7200 # Node ID 6963460bfe0fec3d24074f7e24f4320c4eeea652 # Parent 56643934495cb3cdcf96fc4b20e9a2a9ed1bf1b9# Parent ca1c34ff6c10306d4832b4c9264cbe9581facdc2 Merged diff -r 56643934495c -r 6963460bfe0f 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))