feat(radio): add the ability to trigger EM from CLI (#6640)

This commit is contained in:
3djc
2025-10-17 13:52:37 +10:00
committed by GitHub
parent a5e5cedd76
commit 3f0c54e6b5
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ void boardInit()
#if !defined(DEBUG_SEGGER_RTT)
// This is needed to prevent radio from starting when usb is plugged to charge
if (usbPlugged()) {
if (!UNEXPECTED_SHUTDOWN() && usbPlugged()) {
while (usbPlugged() && !pwrPressed()) {
delay_ms(1000);
}