From 8c7ee88332652e7e79f6c1e4baacabe2183f7e8e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Mar 2021 12:54:03 +0000 Subject: working, with hybrid FLL/PLL, new refclk input and support for max7219 displays, neo 5 and neo 7 and a bazillion other fixes --- app/pins.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/pins.h') diff --git a/app/pins.h b/app/pins.h index 723ca82..9892cf1 100644 --- a/app/pins.h +++ b/app/pins.h @@ -49,6 +49,10 @@ gpio_mode_setup( a ## _PORT, GPIO_MODE_INPUT, GPIO_PUPD_NONE, a ); \ } while (0) +#define MAP_ANALOG_INPUT(a) do { \ + gpio_mode_setup( a ## _PORT, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, a ); \ + } while (0) + #define CLEAR(a) gpio_clear( a ## _PORT, a) #define SET(a) gpio_set( a ## _PORT, a) -- cgit v1.2.3