From 9ce7ad9bc0665f4d437958d195560fb11cc5af96 Mon Sep 17 00:00:00 2001 From: wlaub Date: Fri, 11 Feb 2022 14:00:49 -0800 Subject: [PATCH] fixed configs --- src/Once.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Once.cpp b/src/Once.cpp index 4dddd4e..7da7897 100644 --- a/src/Once.cpp +++ b/src/Once.cpp @@ -124,8 +124,8 @@ struct Once : Module { for(int i = 0; i < N; ++i) { - configOutput(GATE_OUTPUT, "Gate"); - configButton(BUTTON_PARAM, "Activate"); + configOutput(GATE_OUTPUT+i, "Gate"); + configButton(BUTTON_PARAM+i, "Activate"); } configInput(CLK_INPUT, "Clock");