Restored instruction to flush CC2420 buffer.
[goodfet] / firmware / apps / radios / ccspi.c
index cca3305..197886a 100644 (file)
@@ -163,9 +163,9 @@ void ccspi_handle_fn( uint8_t const app,
       SETSS;
 
       //Flush buffer.
-      //CLRSS;
-      //ccspitrans8(0x08); //SFLUSHRX
-      //SETSS;
+      CLRSS;
+      ccspitrans8(0x08); //SFLUSHRX
+      SETSS;
       
       
       //Only should transmit length of one more than the reported