Skip to content

Commit

Permalink
Fixes issue #33
Browse files Browse the repository at this point in the history
Git bisect led me to 6509c83 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.
  • Loading branch information
Zachary Crockett committed Aug 5, 2014
1 parent 9e611a4 commit 3283e75
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions SPARK_Firmware_Driver/src/cc3000_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -434,7 +432,6 @@ void SPI_DMA_IntHandler(void)
else
{
SetState(eSPI_STATE_IDLE, eDeAssert);
WARN("CC3000 DmaHandler release write spi bus");
}
}
break;
Expand Down

0 comments on commit 3283e75

Please sign in to comment.