]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
confirm function has exited on button press
authoradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 10 Jul 2009 15:40:24 +0000 (15:40 +0000)
committeradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 10 Jul 2009 15:40:24 +0000 (15:40 +0000)
armsrc/appmain.c

index e7b868bd811dc5044a3661c5e47184b5c8d48b98..c8462649697f54a827adeb43d40ce35fc47bdbfe 100644 (file)
@@ -339,6 +339,7 @@ void SimulateTagLowFrequency(int period)
        for(;;) {
                while(!(PIO_PIN_DATA_STATUS & (1<<GPIO_SSC_CLK))) {
                        if(BUTTON_PRESS()) {
+                               DbpString("Stopped");
                                return;
                        }
                        WDT_HIT();
@@ -354,6 +355,7 @@ void SimulateTagLowFrequency(int period)
 
                while(PIO_PIN_DATA_STATUS & (1<<GPIO_SSC_CLK)) {
                        if(BUTTON_PRESS()) {
+                               DbpString("Stopped");
                                return;
                        }
                        WDT_HIT();
@@ -487,6 +489,7 @@ static void CmdHIDdemodFSK(void)
                WDT_HIT();
                LED_A_ON();
                if(BUTTON_PRESS()) {
+                       DbpString("Stopped");
                        LED_A_OFF();
                        return;
                }
@@ -970,6 +973,7 @@ void ListenReaderField(int limit)
                {
                if(BUTTON_PRESS()) 
                        {
+                       DbpString("Stopped");
                        LED_B_OFF();
                        LED_D_OFF();
                        return;
Impressum, Datenschutz