Skip to content

Commit

Permalink
One more minor W5500 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Nov 21, 2016
1 parent 02c521d commit 4e20905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion w5100.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4e20905

Please sign in to comment.