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:
Niel Nielsen
2026-09-23 13:44:57 +02:00
committed by Philippe Teuwen
parent 9038dacead
commit 9c12e30b79
+6
View File
@@ -138,6 +138,12 @@ bool IfPm5StdAnt(void) {
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) {
if (IfPm3Present() == false)
return false;