Skip to content

Commit 6dd7607

Browse files
committed
Fixed warning in SPI example. Updated Cargo toml
1 parent 9c5d122 commit 6dd7607

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "stm32l432xx-hal"
33
version = "0.1.0"
4-
authors = ["Scott <[email protected]>"]
4+
authors = ["Scott Mabin <[email protected]>"]
55
description = "Hardware abstraction layer for the stm32l432xx chips"
66
keywords = ["no-std", "stm32l432xx", "stm32l432kc", "embedded", "embedded-hal"]
77
repository = "https://github.com/MabezDev/stm32l432xx-hal"

examples/spi_write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use hal::prelude::*;
1616
use hal::spi::Spi;
1717
use hal::stm32l4::stm32l4x2;
1818
use rt::ExceptionFrame;
19-
use ehal::spi::{FullDuplex, Mode, Phase, Polarity};
19+
use ehal::spi::{Mode, Phase, Polarity};
2020

2121
/// SPI mode
2222
pub const MODE: Mode = Mode {

0 commit comments

Comments
 (0)