diff options
author | Keith Packard <keithp@keithp.com> | 2009-03-24 22:21:31 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-03-24 22:21:31 -0700 |
commit | e120269fc0f8e14ddf1755337b1d092173e16da2 (patch) | |
tree | 95f825d5c4db525cef73ffeca04bfa41a63a1d1f | |
parent | de1ac6f99a1526fa840a52cfc10fa3edc0589bed (diff) |
Actually return byte read from SPI
-rw-r--r-- | target/ee/ee.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/ee/ee.c b/target/ee/ee.c index ed13d0ad..08d55137 100644 --- a/target/ee/ee.c +++ b/target/ee/ee.c @@ -274,6 +274,7 @@ usart_in_out(uint8_t byte) while ((U0CSR & UxCSR_TX_BYTE) == 0) ; U0CSR &= ~UxCSR_TX_BYTE; + return U0DBUF; } void |