Merged with modifications from Edouard
authorlaurent
Sat, 12 Mar 2011 18:43:02 +0100
changeset 249 d58a45824531
parent 248 9cb18ec14fa2 (current diff)
parent 246 e8b5b163804d (diff)
child 250 5d2927300e2c
Merged with modifications from Edouard
--- a/lib/iec_types_all.h	Sat Mar 12 18:38:41 2011 +0100
+++ b/lib/iec_types_all.h	Sat Mar 12 18:43:02 2011 +0100
@@ -93,6 +93,7 @@
 /* Get size of type from its number */
 #define __decl_size_case(TYPENAME) \
 	case TYPENAME##_ENUM:\
+	case TYPENAME##_O_ENUM:\
 	case TYPENAME##_P_ENUM:\
 		return sizeof(TYPENAME);
 static inline USINT __get_type_enum_size(__IEC_types_enum t){