]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/hitag2.c
CHG: testing to set 460800 baudrate as default, if it fails, go to 115200 baudrate...
[proxmark3-svn] / armsrc / hitag2.c
index 0fab407f113af2c63348df04fcf57a2153dcd2c0..bc904c66a2c76da12007c5c1d171fdf3ed7ade9e 100644 (file)
@@ -708,7 +708,7 @@ static bool hitag2_read_uid(byte_t* rx, const size_t rxlen, byte_t* tx, size_t*
                case 0: {
                        // Just starting or if there is no answer
                        *txlen = 5;
-                       memcpy(tx,"\xc0",nbytes(*txlen));
+                       memcpy(tx,"\xC0",nbytes(*txlen));
                } break;
                // Received UID
                case 32: {
@@ -1296,13 +1296,12 @@ void ReaderHitag(hitag_function htf, hitag_data* htd) {
                if(rxlen > 0) {
                        frame_count++;
                        if (!bQuiet) {
-                               if (!LogTraceHitag(rx,rxlen,response,0,false)) {
+                               if (!LogTraceHitag(rx,rxlen, response, 0, false)) {
                                        DbpString("Trace full");
-                                       if (bQuitTraceFull) {
+                                       if (bQuitTraceFull)
                                                break;
-                                       } else {
+                                       else
                                                bQuiet = true;
-                                       }
                                }
                        }
                }
Impressum, Datenschutz