From 92684f1539f07a60077d70771d1593fa850f07b9 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sun, 15 Jan 2023 20:03:33 +0100 Subject: [PATCH] Use constants where possible --- 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 de979af..225d9cd 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<()>; 24], + channel_flags: [RefCell<()>; NUMBER_OF_CHANNELS], } impl Ndsp {