Permalink
Browse files

Updating SPI.transfer.

  • Loading branch information...
1 parent 1247146 commit 090f08de51f4905d5009e75cfb236fc169d4787f @voodootikigod committed Jan 23, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 firmware/firmware.cpp
View
@@ -214,7 +214,9 @@ void loop() {
case 0x24: // SPI.transfer
val = client.read();
- SPI.transfer(val);
+ val = SPI.transfer(val);
+ client.write(0x24);
+ client.write(val);
break;

0 comments on commit 090f08d

Please sign in to comment.