mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-23 02:23:47 +08:00
Added revision number to slave type checking.
This commit is contained in:
+3
-1
@@ -246,6 +246,7 @@ typedef struct {
|
||||
uint16_t position; /**< Slave position. */
|
||||
uint32_t vendor_id; /**< Slave vendor ID. */
|
||||
uint32_t product_code; /**< Slave product code. */
|
||||
uint32_t revision_number; /**< Slave revision number. */
|
||||
uint16_t index; /**< Pdo entry index. */
|
||||
uint8_t subindex; /**< Pdo entry subindex. */
|
||||
unsigned int *offset; /**< Pointer to a variable to store the Pdo entry's
|
||||
@@ -350,7 +351,8 @@ ec_slave_config_t *ecrt_master_slave_config(
|
||||
uint16_t alias, /**< Slave alias. */
|
||||
uint16_t position, /**< Slave position. */
|
||||
uint32_t vendor_id, /**< Expected vendor ID. */
|
||||
uint32_t product_code /**< Expected product code. */
|
||||
uint32_t product_code, /**< Expected product code. */
|
||||
uint32_t revision_number /**< Expected revision number. */
|
||||
);
|
||||
|
||||
/** Finishes the configuration phase and prepares for realtime mode.
|
||||
|
||||
Reference in New Issue
Block a user