]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/uart.c
CHG: syntax suger
[proxmark3-svn] / client / uart.c
index 4b2fee994f533d0044c729f36ce01690c113a8aa..e3a6a57b7b68f16e77fb095ee3a79d2ee64fec5b 100644 (file)
@@ -370,9 +370,9 @@ serial_port uart_open(const char* pcPortName) {
   memset(&sp->dcb, 0, sizeof(DCB));
   sp->dcb.DCBlength = sizeof(DCB);
   if(!BuildCommDCBA("baud=9600 data=8 parity=N stop=1",&sp->dcb)) {
-    uart_close(sp);
-    return INVALID_SERIAL_PORT;
-  }
+               uart_close(sp);
+               return INVALID_SERIAL_PORT;
+       }
   
   // Update the active serial port
   if(!SetCommState(sp->hPort,&sp->dcb)) {
Impressum, Datenschutz