From 4a393a428dde681b4558e7ce256cf8647a4ed0fd Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 28 Jun 2012 10:55:47 -0400 Subject: [PATCH] fix examples in chfPlugin.h --- src/ioc/db/chfPlugin.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ioc/db/chfPlugin.h b/src/ioc/db/chfPlugin.h index 7d9745d10..99739aab8 100644 --- a/src/ioc/db/chfPlugin.h +++ b/src/ioc/db/chfPlugin.h @@ -44,11 +44,12 @@ struct db_field_log; * * typedef struct myStruct { * ... other stuff - * epicsUInt32 ival; + * epicsInt32 ival; * double dval; - * epicsUInt32 ival2; + * epicsInt32 ival2; * int enumval; * char strval[20]; + * char boolval; * } myStruct; * * static const @@ -61,6 +62,7 @@ struct db_field_log; * chfDouble(myStruct, dval, "Double" , 1, 0), * chfString(myStruct, strval , "String" , 1, 0), * chfEnum (myStruct, enumval, "Color" , 1, 0, colorEnum), + * chfBoolean(myStruct, boolval, "Bool" , 1, 0), * chfPluginEnd * }; *