Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lcd_cam tests
  • Loading branch information
bugadani committed Nov 21, 2024
commit 2993f5e6a5fb2a76418c2ecef54d7f4456a76c2c
5 changes: 0 additions & 5 deletions esp-hal/src/lcd_cam/lcd/dpi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
//!
//! # let mut dma_buf = dma_loop_buffer!(32);
//!
//! # let channel = channel.configure(
//! # false,
//! # DmaPriority::Priority0,
//! # );
//!
//! let lcd_cam = LcdCam::new(peripherals.LCD_CAM);
//!
//! let mut config = dpi::Config::default();
Expand Down
4 changes: 2 additions & 2 deletions examples/src/bin/lcd_dpi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use core::iter::{empty, once};
use esp_backtrace as _;
use esp_hal::{
delay::Delay,
dma::{Dma, DmaPriority},
dma::Dma,
dma_loop_buffer,
gpio::{Level, Output},
i2c,
Expand Down Expand Up @@ -71,7 +71,7 @@ fn main() -> ! {
.with_scl(peripherals.GPIO48);

let dma = Dma::new(peripherals.DMA);
let channel = dma.channel2.configure(true, DmaPriority::Priority0);
let channel = dma.channel2;
let lcd_cam = LcdCam::new(peripherals.LCD_CAM);

let mut expander = Tca9554::new(i2c);
Expand Down
3 changes: 1 addition & 2 deletions hil-test/tests/lcd_cam.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! LCD_CAM Camera and DPI tests

//% CHIPS: esp32s3
//% FEATURES: defmt

#![no_std]
#![no_main]
Expand Down Expand Up @@ -59,7 +58,7 @@ mod tests {
let dma = Dma::new(peripherals.DMA);
let lcd_cam = LcdCam::new(peripherals.LCD_CAM);

let channel = dma.channel2.configure(false, DmaPriority::Priority0);
let channel = dma.channel2;

let (vsync_in, vsync_out) = peripherals.GPIO6.split();
let (hsync_in, hsync_out) = peripherals.GPIO7.split();
Expand Down