lpcmanager

Fixed order of creating modules. first must be created pool then all others ussing pool module.
--- a/LPCManager.py Fri Feb 10 09:15:58 2017 +0100
+++ b/LPCManager.py Fri Feb 10 10:40:35 2017 +0100
@@ -95,9 +95,9 @@
features.libraries=[('Native', 'NativeLib.NativeLibrary')]
if arch == "MC9":
- features.libraries += [('RTC', lambda: PLCLibraryRTC),('Python', 'py_ext.PythonLibrary')]
+ features.libraries += [('Python', 'py_ext.PythonLibrary'), ('RTC', lambda: PLCLibraryRTC)]
elif arch == "GOT":
- features.libraries += [('RTC', lambda: PLCLibraryRTC),('GOT', lambda: PLCLibraryGOT),('Python', 'py_ext.PythonLibrary')]
+ features.libraries += [('Python', 'py_ext.PythonLibrary'), ('RTC', lambda: PLCLibraryRTC), ('GOT', lambda: PLCLibraryGOT)]
else:
features.libraries += [('LPC', lambda: PLCLibraryLPC)]
@@ -197,7 +197,7 @@
defaultGenerateNewName = PLCControler.GenerateNewName
def newGenerateNewName(self, tagname, name, format, start_idx=0, exclude={}, debug=False):
if tagname:
- defaultGenerateNewName(self, tagname, name, format, start_idx=0, exclude={}, debug=False)
+ return defaultGenerateNewName(self, tagname, name, format, start_idx=0, exclude={}, debug=False)
else:
names = exclude.copy()
i = start_idx