hw version: display firmware platform info

This commit is contained in:
Philippe Teuwen 2020-09-25 16:39:07 +02:00
commit 5e26c096bb
3 changed files with 20 additions and 11 deletions

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;