input/csv: provide double precision values to session feed

Common conversion support code accepts double precision input data for
analog packets. Use the 'double' data type in the CSV input module to
feed sample data to the session bus.
This commit is contained in:
Gerhard Sittig 2020-09-13 16:35:59 +02:00
parent e62b284c1c
commit ce3fe37969
1 changed files with 1 additions and 4 deletions

View File

@ -136,9 +136,6 @@
/*
* TODO
*
* - Unbreak analog data when submitted in the 'double' data type. This
* was observed with sigrok-cli screen output. Is analog.encoding->unitsize
* not handled appropriately? Is it a sigrok-cli or libsigrok issue?
* - Add a test suite for input modules in general, and CSV in specific?
* Becomes more important with the multitude of options and their
* interaction. Could cover edge cases (BOM presence, line termination
@ -146,7 +143,7 @@
* samplerates, etc).
*/
typedef float csv_analog_t; /* 'double' currently is flawed. */
typedef double csv_analog_t;
/* Single column formats. */
enum single_col_format {