From 3283e75870ae3a7a5256c8944313644f821dc89b Mon Sep 17 00:00:00 2001 From: Zachary Crockett Date: Mon, 4 Aug 2014 20:27:40 -0700 Subject: [PATCH] Fixes issue #33 Git bisect led me to 6509c8367f as the offending commit. The "CC3000 SpiWrite acquire bus" message and the "CC3000 DmaHandler release read spi bus" message do not break debug mode, but they create enough debug loggin as to overwhelm the serial bus. The "CC3000 DmaHandler release write spi bus" actually breaks debug mode. Removed as unimportant. --- SPARK_Firmware_Driver/src/cc3000_spi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/SPARK_Firmware_Driver/src/cc3000_spi.c b/SPARK_Firmware_Driver/src/cc3000_spi.c index d0f9b05..99d0bbf 100644 --- a/SPARK_Firmware_Driver/src/cc3000_spi.c +++ b/SPARK_Firmware_Driver/src/cc3000_spi.c @@ -331,7 +331,6 @@ long SpiWrite(unsigned char *ucBuf, unsigned short usLength) if(NotAborted) { NotAborted = Reserve(eSPI_STATE_WRITE_WAIT_IRQ); - WARN("CC3000 SpiWrite acquire bus"); if(NotAborted) { usLength = SpiSetUp(ucBuf, usLength); @@ -405,7 +404,6 @@ void SPI_DMA_IntHandler(void) SpiPauseSpi(); SetState(eSPI_STATE_IDLE, eDeAssert); - WARN("CC3000 DmaHandler release read spi bus"); // Call out to the Unsolicited handler // It will handle the event or leave it there for an outstanding opcode // It it handles it the it Will resume the SPI ISR @@ -434,7 +432,6 @@ void SPI_DMA_IntHandler(void) else { SetState(eSPI_STATE_IDLE, eDeAssert); - WARN("CC3000 DmaHandler release write spi bus"); } } break;