Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 876a42e

Browse files
author
imarkov
committed
1 parent 3f5d36d commit 876a42e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-esp32-std-demo"
3-
version = "0.20.1"
3+
version = "0.20.2"
44
authors = ["ivmarkov"]
55
edition = "2018"
66
categories = ["embedded", "hardware-support"]

src/main.rs

-3
Original file line numberDiff line numberDiff line change
@@ -657,9 +657,6 @@ fn esp32s3_usb_otg_hello_world(
657657
) -> Result<()> {
658658
info!("About to initialize the ESP32-S3-USB-OTG SPI LED driver ST7789VW");
659659

660-
let peripherals = Peripherals::take().unwrap();
661-
let pins = peripherals.pins;
662-
663660
let config = <spi::config::Config as Default>::default()
664661
.baudrate(80.MHz().into())
665662
.bit_order(spi::config::BitOrder::MSBFirst);

0 commit comments

Comments
 (0)