improve visibility of setup_port so it can be re-used

This commit is contained in:
bunnie 2024-06-16 01:53:00 +08:00
parent fe6fad2847
commit 975b44f894

View file

@ -36,7 +36,7 @@ pub struct SwapHal {
buf: RawPage,
}
fn setup_port(
pub fn setup_port(
iox: &mut Iox,
port: IoxPort,
pin: u8,