mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
fix a typo
man that would have been a hard bug to track down.
This commit is contained in:
parent
8fe4c50373
commit
d6b8310495
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ impl Llio {
|
||||||
}
|
}
|
||||||
pub fn usb_int_ena(&mut self, ena: bool) {
|
pub fn usb_int_ena(&mut self, ena: bool) {
|
||||||
let value = if ena {1} else {0};
|
let value = if ena {1} else {0};
|
||||||
self.power_csr.rmwf(utra::power::EV_PENDING_USB_ATTACH, value);
|
self.power_csr.rmwf(utra::power::EV_ENABLE_USB_ATTACH, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue