Implement IfBwm function for BWM capability check
Added IfBwm function to check BWM capability based on PM3 presence. Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
1 parent
9038dacead
commit
9c12e30b79
1 file changed
+6
@@ -138,6 +138,12 @@ bool IfPm5StdAnt(void) {
|
|||||||
return g_pm3_capabilities.is_pm5_std_ant;
|
return g_pm3_capabilities.is_pm5_std_ant;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool IfBwm(void) {
|
||||||
|
if (IfPm3Present() == false)
|
||||||
|
return false;
|
||||||
|
return g_pm3_capabilities.compiled_with_bwm;
|
||||||
|
}
|
||||||
|
|
||||||
bool IfFpgaFlash(void) {
|
bool IfFpgaFlash(void) {
|
||||||
if (IfPm3Present() == false)
|
if (IfPm3Present() == false)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in new issue
Block a user