diff --git a/src/main.rs b/src/main.rs
index 482e486..8daff1f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,7 @@
use std::cell::RefCell;
use std::convert::Infallible;
use std::process;
+use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, Mutex};
use std::time::Duration;
@@ -20,8 +21,9 @@ const BUTTON_PIN: u8 = 26;
const CHANNEL_VEC_SIZE: usize = 32;
thread_local! {
- static AUDIO_CHILD: RefCell