From 0ed99ce0c462df827b4c2d48dd2e3a4063638736 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 18 Mar 2019 17:16:27 +0100 Subject: [PATCH] unsigned variables cant be negative --- armsrc/Standalone/lf_hidbrute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/Standalone/lf_hidbrute.c b/armsrc/Standalone/lf_hidbrute.c index aaeae9a9a..8571c0ce1 100644 --- a/armsrc/Standalone/lf_hidbrute.c +++ b/armsrc/Standalone/lf_hidbrute.c @@ -164,7 +164,7 @@ void RunMod() { Dbprintf("[=] Proxbrute - starting decrementing card number"); - while (cardnum >= 0) { + while (cardnum > 0) { // Needed for exiting from proxbrute when button is pressed if (BUTTON_PRESS()) {