mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-07 04:11:50 +08:00
Addresse der Revisionsnummer im SII korrigiert.
This commit is contained in:
@@ -217,14 +217,14 @@ int EtherCAT_check_slaves(EtherCAT_master_t *master,
|
||||
}
|
||||
|
||||
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");
|
||||
return -1;
|
||||
}
|
||||
|
||||
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");
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user