mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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
|
||||
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
|
||||
iox.set_gpio_pin_value(IoxPort::PC, 14, IoxValue::High);
|
||||
iox.setup_pin(
|
||||
|
|
|
|||
Loading…
Reference in a new issue