Fix typo in README

This commit is contained in:
kellerkindt 2021-03-23 23:42:42 +01:00 committed by GitHub
commit 9e9ff5733e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ of the SPI implementation. It must be set up to work as the W5500 chip requires
let mut spi = ...; // SPI interface to use let mut spi = ...; // SPI interface to use
let mut cs : OutputPin = ...; // chip select let mut cs : OutputPin = ...; // chip select
// alternative FourWireRef::new(&mut spi, &mut spi) // alternative FourWireRef::new(&mut spi, &mut cs)
let device = UninitializedDevice::new(FourWire::new(spi, cs)) let device = UninitializedDevice::new(FourWire::new(spi, cs))
.initialize_manual( .initialize_manual(
MacAddress::new(0, 1, 2, 3, 4, 5), MacAddress::new(0, 1, 2, 3, 4, 5),