consistently cfg-gate set_speed

This commit is contained in:
Anatol Ulrich 2024-12-19 18:52:27 +01:00
parent 26fe834c09
commit d91b8c6394

View File

@ -749,6 +749,7 @@ pub(crate) trait SealedPin {
}
#[inline]
#[cfg(gpio_v2)]
fn set_speed(&self, speed: Speed) {
set_speed(self.pin_port(), speed)
}