paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5194] this time KILL_MOTORS should kill all motors


From: antoine drouin
Subject: [paparazzi-commits] [5194] this time KILL_MOTORS should kill all motors
Date: Sun, 01 Aug 2010 12:22:51 +0000

Revision: 5194
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5194
Author:   poine
Date:     2010-08-01 12:22:51 +0000 (Sun, 01 Aug 2010)
Log Message:
-----------
this time KILL_MOTORS should kill all motors

Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_mkk.c

Modified: paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_mkk.c
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_mkk.c    
2010-07-31 17:26:04 UTC (rev 5193)
+++ paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_mkk.c    
2010-08-01 12:22:51 UTC (rev 5194)
@@ -69,7 +69,11 @@
   actuators_mkk.i2c_done = FALSE;
   actuators_mkk.idx = 0;
   BoozActuatorsMkkArchSend();
+#ifdef KILL_MOTORS
+  DeviceBuf[0] = 0;
+#else
   DeviceBuf[0] = supervision.commands[actuators_mkk.idx];
+#endif
   DeviceTransmit(actuators_addr[actuators_mkk.idx], 1, 
&actuators_mkk.i2c_done);
 
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]