Explorar o código

LPC part frequency echo

LPC part frequency is not being echoed during initialization. Removed awaiting the echo.
Mateusz Bugdalski %!s(int64=13) %!d(string=hai) anos
pai
achega
a3ba7efb04
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      lpc.c

+ 0 - 1
lpc.c

@@ -68,7 +68,6 @@ void lpc_init(struct lpc_device *dev) {
   if(strcmp(buf, "OK\r\n")!=0)
     sprog_error("Expected OK, received '%s'\n", buf);
   printf("12000\r\n");
-  fgets(buf, sizeof(buf), stdin); /* deny echoed line */
   fgets(buf, sizeof(buf), stdin);
   if(strcmp(buf, "OK\r\n")!=0)
     sprog_error("Expected OK, received '%s'\n", buf);