mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-13 10:09:30 +00:00
fix RX AUDIO baseband async error for PRALINE (#3010)
This commit is contained in:
@@ -473,7 +473,12 @@ void shutdown() {
|
|||||||
send_message(&message);
|
send_message(&message);
|
||||||
|
|
||||||
shared_memory.application_queue.reset();
|
shared_memory.application_queue.reset();
|
||||||
|
// Allow time for the shutdown message to be processed and for the baseband
|
||||||
|
// core to stop before starting another image. Otherwise, the M4 may still be
|
||||||
|
// running and cause a crash when the next image is started.
|
||||||
|
#ifdef PRALINE
|
||||||
|
chThdSleepMilliseconds(20);
|
||||||
|
#endif
|
||||||
baseband_image_running = false;
|
baseband_image_running = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user