add modbus support, need to test

This commit is contained in:
2026-08-12 10:31:13 +03:00
parent a996bae853
commit 11f3553344
6 changed files with 174 additions and 28 deletions

View File

@@ -208,7 +208,7 @@ void serverproc(SSL_CTX *ctx, int fd){
}
for(int i = 0; i < nfd; ++i) SSL_free(ssls[i]);
motors_stop();
modbus_close();
motors_close();
}
/****************** Protocol handlers (return 0 in case of success or error code >0 if failed) ******************/