From 194d000d77f98d1f4edc6d0cd94886b0061b2c14 Mon Sep 17 00:00:00 2001 From: smckown Date: Sat, 25 Apr 2009 03:03:24 +0000 Subject: [PATCH] Use the byte passed into Interrupt.rx() rather calling into hw again. --- tos/chips/msp430/usci/Msp430SpiB0C.nc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tos/chips/msp430/usci/Msp430SpiB0C.nc b/tos/chips/msp430/usci/Msp430SpiB0C.nc index 6684b79d..7805c71c 100644 --- a/tos/chips/msp430/usci/Msp430SpiB0C.nc +++ b/tos/chips/msp430/usci/Msp430SpiB0C.nc @@ -91,4 +91,9 @@ implementation { SpiP.SIMO -> IOC.UCB0SIMO; SpiP.SOMI -> IOC.UCB0SOMI; SpiP.CLK -> IOC.UCB0CLK; + +#ifdef SPI_DEBUG + components PlatformSerialC; + SpiP.UartByte -> PlatformSerialC; +#endif } -- 2.39.2