Added a proper way to check if it is rdv4 fw

This commit is contained in:
Alejandro committed 2023-01-24 23:01:28 +01:00
1 parent da84eb6206
commit 474aaed4b7
5 files changed
+16 -4

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ bool IfPm3Present(void) {
bool IfPm3Rdv4Fw(void) {
if (!IfPm3Present())
return false;
return (g_pm3_capabilities.compiled_with_flash) || (g_pm3_capabilities.compiled_with_smartcard);
return (g_pm3_capabilities.is_rdv4);
}
bool IfPm3Flash(void) {