From: Alexander Batalov Date: Fri, 29 Mar 2024 09:25:51 +0000 (+0300) Subject: Fix xon_xoff not initialized X-Git-Tag: libserialport-0.1.2~8 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ea08028cc96ba82b73d2b1f64a4535f3dca9c1d4;p=libserialport.git Fix xon_xoff not initialized --- diff --git a/serialport.c b/serialport.c index 58b3c3e..d15c664 100644 --- a/serialport.c +++ b/serialport.c @@ -2293,6 +2293,7 @@ SP_API enum sp_return sp_new_config(struct sp_port_config **config_ptr) config->cts = -1; config->dtr = -1; config->dsr = -1; + config->xon_xoff = -1; *config_ptr = config;