chore: commit all remaining changes

This commit is contained in:
backuppc
2026-02-04 15:26:22 +09:00
parent b388b1917d
commit ec2af6ac1f
17 changed files with 414 additions and 242 deletions

View File

@@ -49,8 +49,17 @@ namespace Project
{
if (VAR.BOOL[eVarBool.DISABLE_AUTOCONN_XBEE] == false)
{
ConnectSerialPort(PUB.XBE, PUB.setting.Port_XBE, PUB.setting.Baud_XBE,
eVarTime.LastConn_XBE, eVarTime.LastConnTry_XBE, null);
if(PUB.XBE.senderrcnt>5)
{
ConnectSerialPort(PUB.XBE, PUB.setting.Port_XBE, PUB.setting.Baud_XBE,
eVarTime.LastConn_XBE, eVarTime.LastConnTry_XBE, eVarTime.LastRecv_XBE);
}
else
{
ConnectSerialPort(PUB.XBE, PUB.setting.Port_XBE, PUB.setting.Baud_XBE,
eVarTime.LastConn_XBE, eVarTime.LastConnTry_XBE, null);
}
}
}