Fixed Linux MS/TP 76800 bitrate for Linux 2.6.20+ circa 2007 and added get/set API for config. (#1007)

This commit is contained in:
Ryan Mulder
2025-05-29 09:54:12 -04:00
committed by GitHub
parent 442f408c1a
commit cb7ef20485
7 changed files with 202 additions and 395 deletions
-2
View File
@@ -15,7 +15,6 @@
#include "mstpmodule.h"
#include "bacnet/bacint.h"
#include "dlmstp_port.h"
#include <termios.h>
void *dl_mstp_thread(void *pArgs)
{
@@ -27,7 +26,6 @@ void *dl_mstp_thread(void *pArgs)
shared_port_data.MSTP_Packets = 0;
shared_port_data.RS485_Handle = -1;
shared_port_data.RS485_Baud = B38400;
shared_port_data.RS485MOD = 0;
switch (port->params.mstp_params.databits) {