mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
make camera pins generic
This commit is contained in:
parent
6d1a362735
commit
6fdf868b44
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ pub fn setup_i2c_pins(iox: &dyn IoSetup) -> I2cChannel {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// returns the power-down port and pin number
|
/// returns the power-down port and pin number
|
||||||
pub fn setup_ov2640_pins<T: IoSetup + IoGpio>(iox: &T) -> (IoxPort, u8) {
|
pub fn setup_camera_pins<T: IoSetup + IoGpio>(iox: &T) -> (IoxPort, u8) {
|
||||||
// power-down pin - default to powered down
|
// power-down pin - default to powered down
|
||||||
iox.set_gpio_pin_value(IoxPort::PC, 14, IoxValue::High);
|
iox.set_gpio_pin_value(IoxPort::PC, 14, IoxValue::High);
|
||||||
iox.setup_pin(
|
iox.setup_pin(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue