Skip to content

Commit

Permalink
Enabled RTS/DTR control for Windows port handler
Browse files Browse the repository at this point in the history
  • Loading branch information
dadecoza authored Dec 18, 2024
1 parent ac4b64f commit f311404
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meshtastic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f311404

Please sign in to comment.