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(); +