aboutsummaryrefslogtreecommitdiff
path: root/apps/sm-serial-read-all.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sm-serial-read-all.cpp')
-rw-r--r--apps/sm-serial-read-all.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sm-serial-read-all.cpp b/apps/sm-serial-read-all.cpp
index 0c5e54a..5c2af1d 100644
--- a/apps/sm-serial-read-all.cpp
+++ b/apps/sm-serial-read-all.cpp
@@ -143,7 +143,7 @@ public:
port.set_option(serial_port_base::flow_control(serial_port_base::flow_control::none));
KeyDictionary parserDict; // TODO: dette feiler
- unique_ptr<SampleStreamParser> parser = open_sample_input_stream(thread_safe_output, parserDict, sample_format_type::KEY_VALUE);
+ unique_ptr<SampleStreamParser> parser = open_sample_stream_parser(thread_safe_output, parserDict, sample_format_type::KEY_VALUE);
auto handler = new port_handler(port_name, port, move(parser));
active_ports[port_name] = handler;