Обновление

This commit is contained in:
cfif 2026-01-28 16:13:43 +03:00
parent 981fcb89cb
commit c43e8a295a
1 changed files with 3 additions and 3 deletions

View File

@ -71,8 +71,8 @@ char *sendLogCanTpHex(tCanSerialPortFrameTp *env, uint8_t *data, size_t size) {
PrintfDebug(&data[i * 8], 8);
if ((len + strlen(strPrintfDebug_TP)) < LEN_DEBUG_TP_BUFF) {
memcpy(&env->hexString[len], strPrintfDebug_TP, strlen(strPrintfDebug_TP));
len += strlen(strPrintfDebug_TP);
memcpy(env->hexString, strPrintfDebug_TP, strlen(strPrintfDebug_TP));
} else {
return env->hexString;
}
@ -83,8 +83,8 @@ char *sendLogCanTpHex(tCanSerialPortFrameTp *env, uint8_t *data, size_t size) {
PrintfDebug(&data[full * 8], tail);
if ((len + strlen(strPrintfDebug_TP)) < LEN_DEBUG_TP_BUFF) {
memcpy(&env->hexString[len], strPrintfDebug_TP, strlen(strPrintfDebug_TP));
len += strlen(strPrintfDebug_TP);
memcpy(env->hexString, strPrintfDebug_TP, strlen(strPrintfDebug_TP));
} else {
return env->hexString;
}
@ -159,7 +159,7 @@ bool waitFlowControl(tCanSerialPortFrameTp *env) {
}
if (env->isFlowControl) {
LoggerStrInfoStatic(LOGGER, LOG_SIGN, "Таймаут ожидания Flow control Frame");
LoggerStrInfoStatic(LOGGER, LOG_SIGN, "Flow control frame timeout");
return false;
}