From: Michal Sojka Date: Sun, 20 Apr 2008 08:34:07 +0000 (+0200) Subject: tolpc: Added TODO to open serial line the same way as lpc21isp X-Git-Url: http://rtime.felk.cvut.cz/gitweb/sysless.git/commitdiff_plain/96bbeb07500eb64fb15828b423d80e3c8de80026 tolpc: Added TODO to open serial line the same way as lpc21isp --- diff --git a/arch/arm/mach-lpc21xx/tools/tolpc/tolpc_fn.c b/arch/arm/mach-lpc21xx/tools/tolpc/tolpc_fn.c index 8b104d9..e6e4bb7 100644 --- a/arch/arm/mach-lpc21xx/tools/tolpc/tolpc_fn.c +++ b/arch/arm/mach-lpc21xx/tools/tolpc/tolpc_fn.c @@ -311,6 +311,9 @@ FILE *open_comm(char *device, int baudrate, int flowc) { FILE *comm; int comm_dev, line; + /* TODO: Open the serial line the same way as lpc21isp. It seems + * that loading works even if there is terminal emulator attached to + * the same port. */ if ((comm = fopen(device, "r+")) == NULL) { perror("open_comm: fopen"); return(NULL);