From: smckown Date: Sat, 25 Apr 2009 03:03:24 +0000 (+0000) Subject: Use the byte passed into Interrupt.rx() rather calling into hw again. X-Git-Tag: release/2.1.0-1~16 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=194d000d77f98d1f4edc6d0cd94886b0061b2c14 Use the byte passed into Interrupt.rx() rather calling into hw again. --- 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 }