summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/ToolInitialization/INIT_SCI2C.sci')
-rw-r--r--2.3-1/macros/ToolInitialization/INIT_SCI2C.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci b/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
index 4065d047..0340d6ff 100644
--- a/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
+++ b/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
@@ -144,6 +144,12 @@ SharedInfoDatFile = FileInfo.SharedInfoDatFile;
global anscounter; //NUT: just to fix problem with ans variables.
anscounter = 0;
+//--------------------------------------------
+//---Hardware related initialisation----------
+//--------------------------------------------
+PeripheralList = list();
+save(FileInfo.PeripheralInitListFile, 'PeripheralList');
+
endfunction
// #RNU_RES_B
//NUT: quando genero il c della funzione utente devo anche generare il corrispondente file delle includes.