]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - objdictgen/gen_cfile.py
Bug on map variable type changing and on comments with special characters corrected
[CanFestival-3.git] / objdictgen / gen_cfile.py
index 0060dc41f2b186dd42c6727246260a250280f941..5f8344282d1d375bbbf1d71e01efebcc0ae80688 100644 (file)
@@ -466,6 +466,10 @@ CO_Data %(NodeName)s_Data = CANOPEN_NODE_DATA_INITIALIZER(%(NodeName)s);
     HeaderFileContent = copyright_notice + generated_tag + """
 #include "data.h"
 
+// prototypes of function provided by object dictionnary
+UNS32 %(NodeName)s_valueRangeTest (UNS8 typeValue, void * value);
+const indextable * %(NodeName)s_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
+
 // prototypes of function to be filled by app
 void %(NodeName)s_SDOtimeoutError(UNS8 line);
 void %(NodeName)s_heartbeatError(UNS8);