File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -508,6 +508,9 @@ struct sr_analog_encoding {
508508 gboolean is_signed ;
509509 gboolean is_float ;
510510 gboolean is_bigendian ;
511+ /** Number of significant digits after the decimal point if positive,
512+ * or number of non-significant digits before the decimal point if negative
513+ * (refers to the value we actually read on the wire) */
511514 int8_t digits ;
512515 gboolean is_digits_decimal ;
513516 struct sr_rational scale ;
@@ -522,6 +525,9 @@ struct sr_analog_meaning {
522525};
523526
524527struct sr_analog_spec {
528+ /** Number of significant digits after the decimal point if positive,
529+ * or number of non-significant digits before the decimal point if negative
530+ * (refers to vendor specifications/datasheet or actual device display) */
525531 int8_t spec_digits ;
526532};
527533
You can’t perform that action at this time.
0 commit comments