From 24f9309d6ecd559d24c54391fadef76cdbde1097 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 16 May 2025 11:19:59 -0500 Subject: serial-parsers,port-serial-at: move echo removal into serial parser Mainly because we need somewhere to stash the call end regex, and it's silly to have a 3rd instance of that in MMPortSerialAt when we already have one in the serial parsers that MMPortSerialAt relies on pretty heavily. Signed-off-by: Dan Williams --- src/mm-port-probe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mm-port-probe.c') diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index 6b53907b..b3bac90c 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -1434,6 +1434,7 @@ serial_open_at (MMPortProbe *self) NULL); mm_port_serial_at_set_response_parser (MM_PORT_SERIAL_AT (ctx->serial), mm_serial_parser_v1_parse, + mm_serial_parser_v1_remove_echo, parser, mm_serial_parser_v1_destroy); } -- cgit v1.2.3-70-g09d2