Skip to content
Snippets Groups Projects
Commit 904418c7 authored by Florian Pose's avatar Florian Pose
Browse files

Addresse der Revisionsnummer im SII korrigiert.

parent ae6ba1dc
No related branches found
No related tags found
No related merge requests found
...@@ -217,14 +217,14 @@ int EtherCAT_check_slaves(EtherCAT_master_t *master, ...@@ -217,14 +217,14 @@ int EtherCAT_check_slaves(EtherCAT_master_t *master,
} }
if (EtherCAT_read_slave_information(master, cur->station_address, if (EtherCAT_read_slave_information(master, cur->station_address,
0x000E, &cur->revision_number) != 0) 0x000C, &cur->revision_number) != 0)
{ {
EC_DBG(KERN_ERR "EtherCAT: Could not read SII revision number!\n"); EC_DBG(KERN_ERR "EtherCAT: Could not read SII revision number!\n");
return -1; return -1;
} }
if (EtherCAT_read_slave_information(master, cur->station_address, if (EtherCAT_read_slave_information(master, cur->station_address,
0x0012, &cur->serial_number) != 0) 0x000E, &cur->serial_number) != 0)
{ {
EC_DBG(KERN_ERR "EtherCAT: Could not read SII serial number!\n"); EC_DBG(KERN_ERR "EtherCAT: Could not read SII serial number!\n");
return -1; return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment