Skip to content

Commit 5af6ca9

Browse files
committed
LCD_MEMORY_SIZE moved to BSP
1 parent dbec2fb commit 5af6ca9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ embedded-graphics = "0.8.0"
2020
embedded-hal = "1.0.0"
2121
mipidsi = "0.8.0"
2222
esp-display-interface-spi-dma = "0.2.0"
23-
esp-bsp = "0.4.0"
23+
esp-bsp = "0.4.1"
2424
embedded-graphics-framebuf = { version = "0.3.0", git = "https://github.com/georgik/embedded-graphics-framebuf.git", branch = "feature/embedded-graphics-0.8" }
2525
heapless = "0.8.0"
2626

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ fn draw_grid<D: DrawTarget<Color = Rgb565>>(
158158

159159
#[entry]
160160
fn main() -> ! {
161-
const LCD_MEMORY_SIZE: usize = 320 * 240 * 2;
162161
let peripherals = esp_hal::init(esp_hal::Config::default());
163162
esp_println::logger::init_logger_from_env();
164163

0 commit comments

Comments
 (0)