Fix wrong size info in net frame for version thanks @makerbase-mks

This commit is contained in:
Luc 2021-01-16 09:38:27 +01:00
parent 0e0efb2ec2
commit b181804da7
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#define _VERSION_ESP3D_H
//version and sources location
#define FW_VERSION "3.0.0.a84"
#define FW_VERSION "3.0.0.a85"
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
#endif //_VERSION_ESP3D_H

View File

@ -705,7 +705,7 @@ bool MKSService::sendNetworkFrame()
dataOffset+=strlen(_moduleId);
//////////////////////////////////
//FW version len Segment
_frame[dataOffset] = strlen(FW_VERSION);
_frame[dataOffset] = strlen(FW_VERSION)+6;
dataOffset++;
//////////////////////////////////
//FW version Segment