fix(UML-1462): Исправлен баг с бесконечной рекурсией

This commit is contained in:
algin 2023-07-11 12:55:52 +03:00
parent a893b41c25
commit ad0c1194ed
2 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,7 @@ struct PackFunctor : public PackFunctorBase {
struct UnpackFunctorBase {
uint8_t *raw;
bool skip;
const bool skip;
template<typename DataT>
void operator()(DataT& data) {

View File

@ -103,6 +103,8 @@ void EcatTelegram::transfer() {
if(stat == false) {
DebugP_log((char*)"telegram transfer error !\r\n");
datagram_queue_.clear();
return;
}