diff --git a/native/SOEM_wrapper/soem_wrapper.c b/native/SOEM_wrapper/soem_wrapper.c index 6c1f8c3..82222b8 100644 --- a/native/SOEM_wrapper/soem_wrapper.c +++ b/native/SOEM_wrapper/soem_wrapper.c @@ -563,7 +563,7 @@ int CALLCONV ScanDevices(ecx_contextt* context, char* interfaceName, ec_slave_in do { ecx_statecheck(context, 0, EC_STATE_PRE_OP, 5 * EC_TIMEOUTSTATE); - } while context->slavelist[0].state != EC_STATE_PRE_OP); + } while (context->slavelist[0].state != EC_STATE_PRE_OP); // read real CSA value from EEPROM for (int slaveIndex = 1; slaveIndex < *context->slavecount + 1; slaveIndex++)