mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-26 20:13:50 +08:00
Renamed state field to al_state.
This commit is contained in:
@@ -126,7 +126,7 @@ void CommandSlaves::listSlaves(
|
||||
info.relPos = str.str();
|
||||
str.str("");
|
||||
|
||||
info.state = alStateString(slave.state);
|
||||
info.state = alStateString(slave.al_state);
|
||||
info.flag = (slave.error_flag ? 'E' : '+');
|
||||
|
||||
if (strlen(slave.name)) {
|
||||
@@ -186,7 +186,7 @@ void CommandSlaves::showSlave(
|
||||
cout << "Alias: " << slave.alias << endl;
|
||||
|
||||
cout
|
||||
<< "State: " << alStateString(slave.state) << endl
|
||||
<< "State: " << alStateString(slave.al_state) << endl
|
||||
<< "Flag: " << (slave.error_flag ? 'E' : '+') << endl
|
||||
<< "Identity:" << endl
|
||||
<< " Vendor Id: 0x"
|
||||
|
||||
Reference in New Issue
Block a user