Skip to content

Commit 72a54ec

Browse files
authored
fixing initialization flag always true (#72)
1 parent 00572d4 commit 72a54ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ethercat_generic_plugins/ethercat_generic_cia402_drive/include/ethercat_generic_plugins/generic_ec_cia402_drive.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class EcCiA402Drive : public GenericEcSlave
3838
virtual ~EcCiA402Drive();
3939
/** Returns true if drive has reached "operation enabled" state.
4040
* The transition through the state machine is handled automatically. */
41-
bool initialized() const;
41+
bool initialized();
4242

4343
virtual void processData(size_t index, uint8_t * domain_address);
4444

ethercat_generic_plugins/ethercat_generic_cia402_drive/src/generic_ec_cia402_drive.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ EcCiA402Drive::EcCiA402Drive()
2525
: GenericEcSlave() {}
2626
EcCiA402Drive::~EcCiA402Drive() {}
2727

28-
bool EcCiA402Drive::initialized() const {return initialized_;}
28+
bool EcCiA402Drive::initialized() {return initialized_;}
2929

3030
void EcCiA402Drive::processData(size_t index, uint8_t * domain_address)
3131
{

0 commit comments

Comments
 (0)