consistently cfg-gate set_speed
This commit is contained in:
parent
26fe834c09
commit
d91b8c6394
@ -749,6 +749,7 @@ pub(crate) trait SealedPin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
#[cfg(gpio_v2)]
|
||||||
fn set_speed(&self, speed: Speed) {
|
fn set_speed(&self, speed: Speed) {
|
||||||
set_speed(self.pin_port(), speed)
|
set_speed(self.pin_port(), speed)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user