mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 00:57:23 +08:00
Renamed state field to al_state.
This commit is contained in:
@@ -128,7 +128,7 @@ void CommandConfig::showDetailedConfigs(
|
||||
if (configIter->slave_position != -1) {
|
||||
m.getSlave(&slave, configIter->slave_position);
|
||||
cout << configIter->slave_position
|
||||
<< " (" << alStateString(slave.state) << ")" << endl;
|
||||
<< " (" << alStateString(slave.al_state) << ")" << endl;
|
||||
} else {
|
||||
cout << "none" << endl;
|
||||
}
|
||||
@@ -245,7 +245,7 @@ void CommandConfig::listConfigs(
|
||||
str.clear();
|
||||
str.str("");
|
||||
|
||||
str << alStateString(slave.state);
|
||||
str << alStateString(slave.al_state);
|
||||
info.state = str.str();
|
||||
str.clear();
|
||||
str.str("");
|
||||
|
||||
Reference in New Issue
Block a user