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 {