Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing initialization flag always true #72

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class EcCiA402Drive : public GenericEcSlave
virtual ~EcCiA402Drive();
/** Returns true if drive has reached "operation enabled" state.
* The transition through the state machine is handled automatically. */
bool initialized() const;
bool initialized();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ EcCiA402Drive::EcCiA402Drive()
: GenericEcSlave() {}
EcCiA402Drive::~EcCiA402Drive() {}

bool EcCiA402Drive::initialized() const {return initialized_;}
bool EcCiA402Drive::initialized() {return initialized_;}

void EcCiA402Drive::processData(size_t index, uint8_t * domain_address)
{
Expand Down