Skip to content

Commit 53a21ae

Browse files
committed
update to optimized DMA implementation
1 parent 641ef5c commit 53a21ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "esp32-conways-game-of-life-rs"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Juraj Michálek <juraj.michalek@espressif.com>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
@@ -17,4 +17,4 @@ display-interface = "0.4.1"
1717
display-interface-spi = "0.4.1"
1818
heapless = "0.8.0"
1919
embedded-dma = "0.2.0"
20-
spi-dma-displayinterface = { git = "https://github.com/georgik/esp32-spooky-maze-game.git", package = "spi-dma-displayinterface", features = [ "esp32s3" ], rev = "bce0bc0" }
20+
spi-dma-displayinterface = { git = "https://github.com/georgik/esp32-spooky-maze-game.git", package = "spi-dma-displayinterface", features = [ "esp32s3" ], rev = "ad47396" }

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_std]
22
#![no_main]
33

4-
use spi_dma_displayinterface::spi_dma_displayinterface::SPIInterfaceNoCS;
4+
use spi_dma_displayinterface::spi_dma_displayinterface;
55

66
use esp_backtrace as _;
77
use esp_println::println;
@@ -202,7 +202,7 @@ fn main() -> ! {
202202

203203
println!("SPI ready");
204204

205-
let di = SPIInterfaceNoCS::new(spi, dc);
205+
let di = spi_dma_displayinterface::new_no_cs(320 * 240 *2, spi, dc);
206206

207207
// ESP32-S3-BOX display initialization workaround: Wait for the display to power up.
208208
// If delay is 250ms, picture will be fuzzy.

0 commit comments

Comments
 (0)