Skip to content

Commit

Permalink
macros: Rename ADC_DEV to ADC_LINE
Browse files Browse the repository at this point in the history
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: #17
  • Loading branch information
chrysn committed Oct 12, 2023
1 parent ed4c9ff commit 72454f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 72454f6

Please sign in to comment.