@@ -272,10 +272,17 @@ void CiMainGenerator::Gen_ConfigHeader()
272272 fwriter->AppendLine (" uncomment define below. */" , 2 );
273273 fwriter->AppendLine (StrPrint (" // #define %s" , fdesc->usesruct_def .c_str ()), 3 );
274274 fwriter->AppendLine (" /* ----------------------------------------------------------------------------------- */" );
275- fwriter->AppendLine (" /* To enable phys values handling uncomment define below. It will:" );
275+ fwriter->AppendLine (" /* All signal's names which have factor != 1 and offset != 0 will be added" );
276+ fwriter->AppendLine (" *_ro postfix, to pay attention in the clinet code, that these signals will be" );
277+ fwriter->AppendLine (" overwritten by *_phys value if definition below uncommented (!)" );
278+ fwriter->AppendLine (" " );
279+ fwriter->AppendLine (" To enable phys values handling uncomment define below. It will:" );
276280 fwriter->AppendLine (" - adds additional members to message struct with name extension *_phys" );
277- fwriter->AppendLine (" which have user defined type @sigfloat_t (must be defined by user in" );
281+ fwriter->AppendLine (" which have either:" );
282+ fwriter->AppendLine (" 1. user defined type @sigfloat_t (must be defined by user in" );
278283 fwriter->AppendLine (" dbccodeconf.h)" );
284+ fwriter->AppendLine (" 2. the same type as signal has (for the case when niether factor nor offset" );
285+ fwriter->AppendLine (" are not real based) " );
279286 fwriter->AppendLine (" - in unpack function these signal will be loaded by the converted " );
280287 fwriter->AppendLine (" value (with factor and offset)" );
281288 fwriter->AppendLine (" - in pack function the CAN frame signal values will be loaded from" );
@@ -284,7 +291,7 @@ void CiMainGenerator::Gen_ConfigHeader()
284291
285292 fwriter->AppendLine (" /* ----------------------------------------------------------------------------------- */" );
286293 fwriter->AppendLine (" /* To enable monitor functions uncomment define below." );
287- fwriter->AppendLine (" /* (Note(!): the \" canmonitorutil.h\" must be accessed in include path):" );
294+ fwriter->AppendLine (" (Note(!) that the \" canmonitorutil.h\" must be accessed in include path):" );
288295 fwriter->AppendLine (" It will:" );
289296 fwriter->AppendLine (" - bring to message struct special monitor member @mon1 " );
290297 fwriter->AppendLine (" - calling function FMon_*** function inside unpack function " );
0 commit comments