mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup a warning
This commit is contained in:
parent
76e88ebc7d
commit
6eca732043
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ pub fn pio_test(pl230: &mut Pl230) -> bool {
|
|||
report_api("id2", pl230.csr.r(utra::pl230::PERIPH_ID_2));
|
||||
|
||||
// Configure PB15 -> PIO0 for test (although the code is capable of toggling all pins, only map one).
|
||||
let mut iox = iox::Iox::new(utralib::generated::HW_IOX_BASE as *mut u32);
|
||||
let iox = iox::Iox::new(utralib::generated::HW_IOX_BASE as *mut u32);
|
||||
let pin = iox.set_pio_bit_from_port_and_pin(iox::IoxPort::PB, 15).unwrap();
|
||||
report_api("Configured PIO pin: ", pin as u32);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue