From fffabf8f5b77edebd2728ceaa7f63df4fa2d7511 Mon Sep 17 00:00:00 2001
From: Patrick Grosch <pgrosch@iri.upc.edu>
Date: Tue, 3 Sep 2013 14:53:51 +0000
Subject: [PATCH]  firmware for mx28 dynamixel - program runs - ini  LED ON -
 infinite while

---
 servo_firmware/mx28/src/mx28_fw.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/servo_firmware/mx28/src/mx28_fw.c b/servo_firmware/mx28/src/mx28_fw.c
index 9f343e4..c6a5323 100755
--- a/servo_firmware/mx28/src/mx28_fw.c
+++ b/servo_firmware/mx28/src/mx28_fw.c
@@ -144,7 +144,12 @@ int main(void)
   
   while(1)
   {
-    if(dyn_slave_is_packet_ready())// check if a new instruction packet has been received
+
+    /*  GPIO_ResetBits(GPIOA,GPIO_Pin_13); // LED ON
+      delay_ms(300);
+      GPIO_SetBits(GPIOA,GPIO_Pin_13);  // LED OFF
+      delay_ms(300);*/
+    /*if(dyn_slave_is_packet_ready())// check if a new instruction packet has been received
     {
       dyn_slave_get_inst_packet(inst_packet);// get the received packet
       // check the packet checksum
@@ -165,7 +170,7 @@ int main(void)
         // send a checksum error answer
         dyn_slave_send_status_packet(DYN_CHECKSUM_ERROR,0,0x00);
       }
-    } 
+    } */
     /*else {
       GPIO_ResetBits(GPIOA,GPIO_Pin_13);
       delay_ms(300);
-- 
GitLab