From de4f958b1ec6e67ee0d14b9c79921a47b36a3611 Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Fri, 24 Apr 2026 17:29:28 +0200 Subject: [PATCH 1/2] upgrade standard --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f51e339..49b9d00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.13) -set(CMAKE_C_STANDARD 11) -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_C_STANDARD 23) +set(CMAKE_CXX_STANDARD 23) # Initialise pico_sdk from installed location # (note this can come from environment, CMake cache etc) From c515c1e07e5f3987f6182b4d48d7b9bd774a180b Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Fri, 24 Apr 2026 17:37:59 +0200 Subject: [PATCH 2/2] remove stdbool.h --- main.c | 2 +- state.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/main.c b/main.c index f8a1d64..d0128ab 100644 --- a/main.c +++ b/main.c @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include @@ -62,6 +61,7 @@ void core1_main(void) { while (1) { update_buttons(); update_inputs(); + printf("vco_mode: %d, quant_enabled: %d amen_enabled: %d", state.vco_mode,state.quant_enabled,state.amen_enabled); sleep_ms(1); } } diff --git a/state.h b/state.h index fda668f..3492876 100644 --- a/state.h +++ b/state.h @@ -1,7 +1,6 @@ #pragma once #include -#include #include "vco.h" typedef struct {