From b7fa498844faca7ee3b42c552c033c33a4132d5b Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sun, 15 Jan 2023 20:07:03 +0100 Subject: [PATCH] I should compile before pushing --- ctru-rs/src/services/ndsp/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/services/ndsp/mod.rs b/ctru-rs/src/services/ndsp/mod.rs index 225d9cd..0009113 100644 --- a/ctru-rs/src/services/ndsp/mod.rs +++ b/ctru-rs/src/services/ndsp/mod.rs @@ -52,7 +52,7 @@ static NDSP_ACTIVE: Mutex = Mutex::new(0); pub struct Ndsp { _service_handler: ServiceReference, - channel_flags: [RefCell<()>; NUMBER_OF_CHANNELS], + channel_flags: [RefCell<()>; NUMBER_OF_CHANNELS as usize], } impl Ndsp {