diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 14:27:46 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 14:27:46 +0100 |
commit | 0dc2cc6503386c809266ad6564ba675803cf8cc7 (patch) | |
tree | 22377de0f4307c40f1ce04599922dc6e6346b107 /apps/sample-convert.cpp | |
parent | 46309b7bb5795ac15fc7953deb13c98c90040cad (diff) | |
download | ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.tar.gz ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.tar.bz2 ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.tar.xz ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.zip |
o First version of a tool to continuously read and discover serial ports.
Diffstat (limited to 'apps/sample-convert.cpp')
-rw-r--r-- | apps/sample-convert.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp index d1c53fb..9e2ad55 100644 --- a/apps/sample-convert.cpp +++ b/apps/sample-convert.cpp @@ -79,9 +79,9 @@ public: options.push_back(&fs); } - shared_ptr <SampleOutputStream> output = open_sample_output_stream(outputStream, dict, output_format, options); + shared_ptr<SampleOutputStream> output = open_sample_output_stream(outputStream, dict, output_format, options); - auto input = make_shared<KeyValueSampleParser>(output, dict); + auto input = make_shared<KeyValueSampleStreamParser>(output, dict); char data[100]; while (!inputStream->eof()) { |