Bugfix/dlmstp api missing in ports os (#1003)
* Added missing API defined in header into ports/win32/dlmstp.c module, added a PDU queue and refactored receive thread, and refactored MS/TP timing parameters. * Added missing API defined in header into ports/linux/dlmstp.c module, and refactored MS/TP timing parameters. * Added missing API defined in header into ports/bsd/dlmstp.c module, and refactored MS/TP timing parameters. * Reduce default MS/TP APDU to 480 to avoid extended frames by default.
This commit is contained in:
@@ -129,7 +129,7 @@ bool datetime_local(
|
||||
bool *dst_active)
|
||||
{
|
||||
bool status = false;
|
||||
struct tm *tblock;
|
||||
struct tm *tblock = NULL;
|
||||
#if defined(_MSC_VER)
|
||||
struct tm newtime = { 0 };
|
||||
__time64_t long_time = 0;
|
||||
|
||||
Reference in New Issue
Block a user