mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-21 17:44:04 +08:00
fixed kernel oops bug in ec_fsm_coe_down_response (Blame the C Compiler)
This commit is contained in:
+1
-1
@@ -1406,7 +1406,7 @@ void ec_fsm_coe_down_prepare_segment_request(
|
||||
void ec_fsm_coe_down_response(ec_fsm_coe_t *fsm /**< finite state machine */)
|
||||
{
|
||||
ec_mailbox_t *mbox = fsm->mbox;
|
||||
ec_datagram_t *datagram = datagram;
|
||||
ec_datagram_t *datagram = fsm->mbox->datagram;
|
||||
ec_slave_t *slave = fsm->slave;
|
||||
uint8_t *data, mbox_prot;
|
||||
size_t rec_size;
|
||||
|
||||
Reference in New Issue
Block a user