master/canopen.c
changeset 90 044e97bce4bd
parent 89 e91ef35c36db
child 91 0120d6214948
--- a/master/canopen.c	Tue Feb 28 09:09:08 2006 +0000
+++ b/master/canopen.c	Tue Feb 28 09:25:51 2006 +0000
@@ -59,7 +59,7 @@
     ec_frame_init_npwr(&frame, master, slave->station_address,
                        0x1800, 0xF6, data);
 
-    if (unlikely(ec_frame_send_receive(&frame) < 0)) {
+    if (unlikely(ec_frame_send_receive(&frame))) {
         EC_ERR("Mailbox sending failed on slave %i!\n", slave->ring_position);
         return -1;
     }