A forgotten case in type size getter switch prevented debugging outputs.
authoredouard
Tue, 22 Feb 2011 15:19:41 +0100
changeset 246 e8b5b163804d
parent 245 799466384604
child 249 d58a45824531
A forgotten case in type size getter switch prevented debugging outputs.
lib/iec_types_all.h
--- a/lib/iec_types_all.h	Wed Jun 16 21:52:17 2010 +0200
+++ b/lib/iec_types_all.h	Tue Feb 22 15:19:41 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){