From 53187b71cad9dbb78d83442853bb27597e7945b9 Mon Sep 17 00:00:00 2001 From: Daniel Stahl Date: Sun, 27 Oct 2024 07:51:57 -0500 Subject: [PATCH] Fix range --- devtools/src/codegen/flexhtx/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devtools/src/codegen/flexhtx/mod.rs b/devtools/src/codegen/flexhtx/mod.rs index eac99892..55e0d07d 100644 --- a/devtools/src/codegen/flexhtx/mod.rs +++ b/devtools/src/codegen/flexhtx/mod.rs @@ -32,7 +32,7 @@ pub(crate) fn input(input: usize) -> Input { enable: format!("BM_DGain_{}_status", 3 + output), gain: Some(format!("BM_DGain_{}", 3 + output)), }),*/ - routing: (0..7usize) + routing: (0..8usize) .map(|output| Gate { enable: format!("BM_Mixer_{}_{}_status", input + 1, output + 1), gain: Some(format!("BM_Mixer_{}_{}", input + 1, output + 1)), @@ -99,8 +99,8 @@ pub fn device() -> Device { "Usb".into(), "Hdmi".into(), ], - inputs: (0..7).map(input).collect(), - outputs: (0..7).map(output).collect(), + inputs: (0..8).map(input).collect(), + outputs: (0..8).map(output).collect(), fir_max_taps: 0, internal_sampling_rate: 48000, ..Default::default()