更新了ModBus库

This commit is contained in:
2023-12-20 22:24:11 +08:00
parent a9be43d98e
commit 8bfef9f889
4 changed files with 115 additions and 7 deletions

View File

@@ -72,7 +72,7 @@ _mb_master mb_Master_create(const char* str,...){
str += (strlen(field) + 1);
}
// 初始化值
result->VarBuff=(void*)malloc(128);
result->VarBuff=(void*)malloc(512);
result->VarNum=0;
va_end(list);