Merge branch 'fix-fake-bit-offset' into 'stable-1.6'
Fixed check of non-zero bit offset. Closes #139 See merge request etherlab.org/ethercat!143
This commit is contained in:
commit
b0816ee67d
|
|
@ -585,7 +585,7 @@ int ecrt_slave_config_reg_pdo_entry(
|
|||
{
|
||||
if (bit_position)
|
||||
*bit_position = offset.bits;
|
||||
else if (!offset.bits)
|
||||
else if (offset.bits)
|
||||
{
|
||||
std::cerr << "Pdo Entry is not byte aligned but bit offset is ignored!\n";
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue