From c6a79acae5a34a355f539a78e7a4600294dee671 Mon Sep 17 00:00:00 2001 From: developer3 Date: Tue, 13 Mar 2018 13:41:08 +0100 Subject: [PATCH] Remove specific UID for stop polling - exit from application --- src/twr-lib-tester.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/twr-lib-tester.c b/src/twr-lib-tester.c index 6f351e2..f8da568 100644 --- a/src/twr-lib-tester.c +++ b/src/twr-lib-tester.c @@ -28,9 +28,6 @@ static int polling = 1; // TRUE -// UID for stop polling - exit from application -u8 stop_uid[4] = { 0x16, 0x78, 0x58, 0x56 }; - //------------------------------------------------------------------ #define UID_STR_LEN_MAX 32 @@ -60,13 +57,6 @@ int fCB_OK(c_string sn, u8 uid[], int uid_len, int control_info) puts(""); puts(""); - //-------------------------------------------------------------- - // stop polling on specific UID - if (!memcmp(uid, stop_uid, sizeof(stop_uid))) - { - puts("--> STOP POLLING UID detected <--"); - polling = 0; // FALSE; - } //-------------------------------------------------------------- return 0; -- GitLab