]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
tolpc: Added TODO to open serial line the same way as lpc21isp
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 20 Apr 2008 08:34:07 +0000 (10:34 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 20 Apr 2008 08:34:07 +0000 (10:34 +0200)
arch/arm/mach-lpc21xx/tools/tolpc/tolpc_fn.c

index 8b104d978d6c33c46ec3a481bc877450e30c079b..e6e4bb751dfdf293a51470663ee1c6a75488a402 100644 (file)
@@ -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);