Remove unnecessary cfg
This commit is contained in:
parent
b230ac9c1a
commit
acc1761637
@ -511,7 +511,6 @@ pub(crate) mod sealed {
|
|||||||
self.set_as_analog();
|
self.set_as_analog();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(gpio_v1, gpio_v2))]
|
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn set_speed(&self, speed: Speed) {
|
unsafe fn set_speed(&self, speed: Speed) {
|
||||||
let pin = self._pin() as usize;
|
let pin = self._pin() as usize;
|
||||||
|
Loading…
Reference in New Issue
Block a user