MySmartUSB-MK3-Interface

MySmartUSB MK3 Interface
git clone git://xatko.vsos.ethz.ch/MySmartUSB-MK3-Interface.git
Log | Files | Refs

commit 7903f347f721c8f5ce8b398765a4edae58d6f788
parent 2d0eac04c695aa0571c83e23819edfdef8381d04
Author: Dominik Schmidt <das1993@hotmail.com>
Date:   Wed, 12 Dec 2012 22:27:44 +0100

Waittime for programmerreset added

Diffstat:
src/cmd.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/cmd.c b/src/cmd.c @@ -13,6 +13,7 @@ #include <stdlib.h> #include <string.h> #include <stdio.h> +#include <unistd.h> int cmd_board_reset(struct command_exec *cmd,int fd){ if(sendMagicPacket(fd,'r')<0){ @@ -39,6 +40,7 @@ int cmd_reset(struct command_exec *cmd, int fd){ return -2; } free(ret); + usleep(1000000); return 0; } int cmd_status(struct command_exec *cmd, int fd){