From 72454f6622015267e2e452dbad81c96e9c89babe Mon Sep 17 00:00:00 2001 From: chrysn Date: Thu, 12 Oct 2023 23:39:29 +0200 Subject: [PATCH] macros: Rename ADC_DEV to ADC_LINE ADC_DEV does not exist in RIOT (and thus, no corresponding code was generated for this ever); the macro that goes into adc_init's argument is ADC_LINE. Follow-up-for: https://github.com/RIOT-OS/rust-riot-sys/pull/17 --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 9689936..0c7fa6f 100644 --- a/build.rs +++ b/build.rs @@ -275,7 +275,7 @@ fn main() { // pattern. ("UART_DEV", "uart_t", Some("unsigned num"), false), ("PWM_DEV", "pwm_t", Some("unsigned num"), false), - ("ADC_DEV", "adc_t", Some("unsigned num"), false), + ("ADC_LINE", "adc_t", Some("unsigned num"), false), ("TIMER_DEV", "timer_t", Some("unsigned num"), false), ("QDEC_DEV", "qdec_t", Some("unsigned num"), false), ("DAC_LINE", "dac_t", Some("unsigned num"), false),