fix(): Замена чтения на pdo_read при инициализации в wait_op
This commit is contained in:
parent
af729b0bb1
commit
998279b54d
@ -220,7 +220,7 @@ bool EthEcatPdoFMMU::wait_op(std::vector<DataT, Allocator>& pdo_read, std::vecto
|
||||
pdo_write.reserve(logical_full_length_write/sizeof(DataT));
|
||||
pdo_write.resize(logical_full_length_write/sizeof(DataT), 0);
|
||||
|
||||
status = read(0, pdo_write); // read to pdo_write !
|
||||
status = read(0, pdo_read); // read to pdo_write !
|
||||
|
||||
if(status != true) {
|
||||
return status;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user