hw version: display firmware platform info

This commit is contained in:
Philippe Teuwen committed 2020-09-25 16:42:54 +02:00
1 parent 42eb98cdda
commit 5e26c096bb
3 files changed
+20 -11

No files matched your search

+6
View File
@@ -26,6 +26,12 @@ bool IfPm3Present(void) {
return session.pm3_present;
}
bool IfPm3Rdv4Fw(void) {
if (!IfPm3Present())
return false;
return (pm3_capabilities.compiled_with_flash) || (pm3_capabilities.compiled_with_smartcard);
}
bool IfPm3Flash(void) {
if (!IfPm3Present())
return false;