xbee & spi ok, only ping is not working
[protos/xbee-avr.git] / cmdline.c
index 9f4129e..5745b9c 100644 (file)
--- a/cmdline.c
+++ b/cmdline.c
@@ -128,8 +128,10 @@ void emergency(char c)
                i++;
        else if ( !(i == 1 && c == 'p') )
                i = 0;
-       if (i == 3)
-               bootloader();
+       if (i == 3) {
+               //bootloader();
+               reset();
+       }
 }
 
 /* log function, add a command to configure