Skip to content

Commit 5222904

Browse files
committed
chore: Fix missing include in Joycon protocol for WASM support.
1 parent 6b11cd1 commit 5222904

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/buttplug_server/src/device/protocol_impl/nintendo_joycon.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ impl NintendoJoycon {
264264
let is_stopped = Arc::new(AtomicBool::new(false));
265265
let is_stopped_clone = is_stopped.clone();
266266
async_manager::spawn(async move {
267+
#[cfg(feature = "wasm")]
268+
use buttplug_core::util;
267269
loop {
268270
if is_stopped_clone.load(Ordering::Relaxed) {
269271
return;

0 commit comments

Comments
 (0)