From c572a2bab8926a140292ebd46a74275e7ea7ca0b Mon Sep 17 00:00:00 2001 From: tharexde Date: Sun, 28 Jun 2020 21:39:27 +0200 Subject: [PATCH] introduced 'IfPm3EM4x50' function --- client/src/cmdparser.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/src/cmdparser.c b/client/src/cmdparser.c index 529a3d553..dee76a8fe 100644 --- a/client/src/cmdparser.c +++ b/client/src/cmdparser.c @@ -89,6 +89,12 @@ bool IfPm3Hitag(void) { return pm3_capabilities.compiled_with_hitag; } +bool IfPm3EM4x50(void) { + if (!IfPm3Present()) + return false; + return pm3_capabilities.compiled_with_em4x50; +} + bool IfPm3Hfsniff(void) { if (!IfPm3Present()) return false;