]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430SpiB0C.nc
Use the byte passed into Interrupt.rx() rather calling into hw again.
[tinyos-2.x.git] / tos / chips / msp430 / usci / Msp430SpiB0C.nc
index 533a1ef352b94e669fec49506c4a19dfcefe5727..7805c71cbef473b8170b6cf93f075c78b66e9910 100644 (file)
@@ -48,7 +48,7 @@
  *
  * The implementation will use a default blockSize if set to 0 here.
  *
- * @author R. Steve McKown <smckown@gmail.com>
+ * @author R. Steve McKown <rsmckown@gmail.com>
  */
  
 #if !defined(__MSP430_HAS_USCI_AB0__)
@@ -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
 }