fix(cpn): simulator crash if attempts to play bye.wav on exit (#7085)

This commit is contained in:
philmoz
2026-02-09 09:50:48 +10:00
committed by GitHub
parent ecad111d34
commit 2da6a5a331
+4
View File
@@ -1130,7 +1130,11 @@ void edgeTxClose(uint8_t shutdown)
if (shutdown) {
pulsesStop();
#if !defined(SIMU)
// Audio task has been stopped so this will not play
// when closing the simulator
AUDIO_BYE();
#endif
// TODO needed? telemetryEnd();
#if defined(HAPTIC)
hapticOff();