From 630faa5a90a5523d90855291215602eb841dd54e Mon Sep 17 00:00:00 2001 From: Tom-on64 Date: Fri, 24 Apr 2026 17:01:02 +0200 Subject: [PATCH] Added update_inputs() to main.cc --- main.cc | 2 ++ mux.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.cc b/main.cc index 22edcc6..e6d9d70 100644 --- a/main.cc +++ b/main.cc @@ -8,6 +8,7 @@ #include "hardware/gpio.h" #include "hardware/pwm.h" #include "hardware/adc.h" +#include "mux.h" #include "pico/multicore.h" #include "pico/stdlib.h" @@ -59,6 +60,7 @@ __attribute__((noreturn)) void core1_main(void) { while (1) { update_buttons(); + update_inputs(); } } diff --git a/mux.h b/mux.h index 4f035fd..da62bcc 100644 --- a/mux.h +++ b/mux.h @@ -2,4 +2,5 @@ #include void set_mux_addr(uint8_t addr); -void update_inputs(); \ No newline at end of file +void update_inputs(); +