We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b11cd1 commit 5222904Copy full SHA for 5222904
crates/buttplug_server/src/device/protocol_impl/nintendo_joycon.rs
@@ -264,6 +264,8 @@ impl NintendoJoycon {
264
let is_stopped = Arc::new(AtomicBool::new(false));
265
let is_stopped_clone = is_stopped.clone();
266
async_manager::spawn(async move {
267
+ #[cfg(feature = "wasm")]
268
+ use buttplug_core::util;
269
loop {
270
if is_stopped_clone.load(Ordering::Relaxed) {
271
return;
0 commit comments