From d55ef5a76b3820edfbbef59dc142beeeb5988383 Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Fri, 24 Apr 2026 13:48:17 +0200 Subject: [PATCH 1/3] add some cool macros --- macro.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 macro.h diff --git a/macro.h b/macro.h new file mode 100644 index 0000000..47bfcb1 --- /dev/null +++ b/macro.h @@ -0,0 +1,3 @@ +#pragma once + +#define ARRAY_LENGTH(a) sizeof(array) / sizeof(*array); \ No newline at end of file From 9358f040008f90077727b26e2d78faf9dbea2802 Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Fri, 24 Apr 2026 13:49:16 +0200 Subject: [PATCH 2/3] fix typo --- macro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macro.h b/macro.h index 47bfcb1..8bdd8db 100644 --- a/macro.h +++ b/macro.h @@ -1,3 +1,3 @@ #pragma once -#define ARRAY_LENGTH(a) sizeof(array) / sizeof(*array); \ No newline at end of file +#define ARRAY_LENGTH(array) sizeof(array) / sizeof(*array); \ No newline at end of file From c76591953a5ea89ba49883e6ecfde4a85b91dcfe Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Fri, 24 Apr 2026 13:58:47 +0200 Subject: [PATCH 3/3] add pwm --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3960c47..b4a5362 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,7 @@ target_link_libraries(sint-gauntlet hardware_interp hardware_timer hardware_clocks + hardware_pwm ) pico_add_extra_outputs(sint-gauntlet)