equal
deleted
inserted
replaced
161 /** Processes received mailbox data. |
161 /** Processes received mailbox data. |
162 * |
162 * |
163 * \return Pointer to the received data, or ERR_PTR() code. |
163 * \return Pointer to the received data, or ERR_PTR() code. |
164 */ |
164 */ |
165 uint8_t *ec_slave_mbox_fetch(const ec_slave_t *slave, /**< slave */ |
165 uint8_t *ec_slave_mbox_fetch(const ec_slave_t *slave, /**< slave */ |
166 ec_datagram_t *datagram, /**< datagram */ |
166 const ec_datagram_t *datagram, /**< datagram */ |
167 uint8_t *type, /**< expected mailbox protocol */ |
167 uint8_t *type, /**< expected mailbox protocol */ |
168 size_t *size /**< size of the received data */ |
168 size_t *size /**< size of the received data */ |
169 ) |
169 ) |
170 { |
170 { |
171 size_t data_size; |
171 size_t data_size; |