equal
deleted
inserted
replaced
57 } |
57 } |
58 |
58 |
59 ec_frame_init_npwr(&frame, master, slave->station_address, |
59 ec_frame_init_npwr(&frame, master, slave->station_address, |
60 0x1800, 0xF6, data); |
60 0x1800, 0xF6, data); |
61 |
61 |
62 if (unlikely(ec_frame_send_receive(&frame) < 0)) { |
62 if (unlikely(ec_frame_send_receive(&frame))) { |
63 EC_ERR("Mailbox sending failed on slave %i!\n", slave->ring_position); |
63 EC_ERR("Mailbox sending failed on slave %i!\n", slave->ring_position); |
64 return -1; |
64 return -1; |
65 } |
65 } |
66 |
66 |
67 // Read "written bit" of Sync-Manager |
67 // Read "written bit" of Sync-Manager |