add some capabilities

This commit is contained in:
iceman1001
2021-12-24 15:09:19 +01:00
parent 4ff7514232
commit d7291aac29
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -175,6 +175,12 @@ bool IfPm3Lcd(void) {
return g_pm3_capabilities.compiled_with_lcd;
}
bool IfPm3Zx8211(void) {
if (!IfPm3Present())
return false;
return g_pm3_capabilities.compiled_with_zx8211;
}
void CmdsHelp(const command_t Commands[]) {
if (Commands[0].Name == NULL) return;
+1
View File
@@ -47,6 +47,7 @@ bool IfPm3Legicrf(void);
bool IfPm3Iclass(void);
bool IfPm3NfcBarcode(void);
bool IfPm3Lcd(void);
bool IfPm3Zx8211(void);
// Print help for each command in the command array
void CmdsHelp(const command_t Commands[]);