Skip to content

Commit 936107a

Browse files
committed
Support more ADCs
1 parent 53d3151 commit 936107a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/adc.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,11 @@ macro_rules! adc {
577577
};
578578
}
579579

580-
#[cfg(feature = "svd-f303")]
581-
adc!([(1, 1, 2), (2, 1, 2)]);
580+
adc!([(1, 1, 2)]);
581+
582+
// Is this correct?
583+
#[cfg(any(feature = "svd-f302", feature = "svd-f303", feature = "svd-f3x4"))]
584+
adc!([(2, 1, 2)]);
582585

583586
#[cfg(any(feature = "gpio-f303", feature = "gpio-f303e",))]
584587
adc!([(3, 3, 4), (4, 3, 4)]);

0 commit comments

Comments
 (0)