Fix SDO Upload in ethercat tool

This commit is contained in:
Bjarne von Horn 2024-05-16 09:44:21 +02:00
parent 5830c42e12
commit 783bc19600
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ void CommandUpload::execute(const StringVector &args)
data.sdo_entry_subindex = uval;
MasterDevice m(getSingleMasterIndex());
m.open(MasterDevice::Read);
m.open(MasterDevice::ReadWrite);
slaves = selectedSlaves(m);
if (slaves.size() != 1) {
throwSingleSlaveRequired(slaves.size());