Skip to content

Commit

Permalink
Update example after rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Jan 30, 2024
1 parent debdf54 commit 58e9776
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions esp32s3-hal/examples/lcd_i8080.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@

use esp32s3_hal::{
clock::ClockControl,
dma::DmaPriority,
dma::{Dma, DmaPriority},
dma_buffers,
gdma::Gdma,
gpio::IO,
lcd_cam::{
lcd::i8080::{Config, TxEightBits, I8080},
Expand All @@ -50,7 +49,7 @@ fn main() -> ! {
let lcd_wr = io.pins.gpio47; // Write clock
let _lcd_te = io.pins.gpio48; // Frame sync

let dma = Gdma::new(peripherals.DMA);
let dma = Dma::new(peripherals.DMA);
let channel = dma.channel0;

let (tx_buffer, mut tx_descriptors, _, mut rx_descriptors) = dma_buffers!(32678, 0);
Expand Down

0 comments on commit 58e9776

Please sign in to comment.