From f311404cad11b3cabe5c354db175d1c411480fac Mon Sep 17 00:00:00 2001 From: Johannes le Roux Date: Wed, 18 Dec 2024 12:03:52 +0200 Subject: [PATCH] Enabled RTS/DTR control for Windows port handler --- meshtastic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meshtastic.c b/meshtastic.c index 35362fb..3451d7b 100644 --- a/meshtastic.c +++ b/meshtastic.c @@ -139,6 +139,8 @@ int mt_connect(MeshtasticAccount *mta, char *port, enum connection_type type) return 1; } state.DCBlength = sizeof(DCB); + state.fRtsControl = RTS_CONTROL_ENABLE; + state.fDtrControl = DTR_CONTROL_ENABLE; state.BaudRate = 115200; state.ByteSize = 8; state.Parity = NOPARITY;