fix(UML-1462): Исправлен баг с бесконечной рекурсией
This commit is contained in:
parent
a893b41c25
commit
ad0c1194ed
@ -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) {
|
||||
|
@ -103,6 +103,8 @@ void EcatTelegram::transfer() {
|
||||
if(stat == false) {
|
||||
DebugP_log((char*)"telegram transfer error !\r\n");
|
||||
|
||||
datagram_queue_.clear();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user