diff --git a/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp b/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp index 04b42f3..8380ef7 100644 --- a/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp +++ b/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp @@ -220,7 +220,7 @@ bool EthEcatPdoFMMU::wait_op(std::vector& 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;