Bug on header file writing in gen_cfile fixed
authorlbessard
Thu, 21 Jun 2007 17:27:16 +0200
changeset 224 ae7edca3b7c4
parent 223 461f5516176b
child 225 d6538481c47f
Bug on header file writing in gen_cfile fixed
objdictgen/gen_cfile.py
--- a/objdictgen/gen_cfile.py	Thu Jun 21 17:08:43 2007 +0200
+++ b/objdictgen/gen_cfile.py	Thu Jun 21 17:27:16 2007 +0200
@@ -473,7 +473,7 @@
 
     texts["file_include_name"] = headerfilepath.replace(".", "_").upper()
     HeaderFileContent = generated_tag + """
-#ifdef %(file_include_name)s
+#ifndef %(file_include_name)s
 #define %(file_include_name)s
 
 #include "data.h"