From 4e209052cc966feeced537191160de152cb98f40 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Mon, 21 Nov 2016 02:20:10 -0800 Subject: [PATCH] One more minor W5500 fix --- w5100.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w5100.cpp b/w5100.cpp index abecf3a..2613919 100644 --- a/w5100.cpp +++ b/w5100.cpp @@ -299,7 +299,7 @@ uint16_t W5100Class::write(uint16_t addr, const uint8_t *buf, uint16_t len) SPI.transfer(((addr >> 6) & 0xE0) | 0x14); } else { // receive buffers - SPI.transfer((addr >> 8) & 0x03); + SPI.transfer(addr >> 8); SPI.transfer(addr & 0xFF); SPI.transfer(((addr >> 6) & 0xE0) | 0x1C); }