X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fapps%2Fradios%2Fccspi.c;h=377a5f0cbe4c2a66a6e1cbf8926ee271da9d00c5;hp=5a3d5d67494bde6c5dfa864dc92af24b33b58eed;hb=ca4deae50d7d2098d372d903d33879f9f951c75c;hpb=73a31780aab1bea70e6e201dad4c752a3e253536 diff --git a/firmware/apps/radios/ccspi.c b/firmware/apps/radios/ccspi.c index 5a3d5d6..377a5f0 100644 --- a/firmware/apps/radios/ccspi.c +++ b/firmware/apps/radios/ccspi.c @@ -139,8 +139,7 @@ void ccspi_handle_fn( uint8_t const app, txdata(app,verb,0); break; case CCSPI_RX: - #ifdef FIFOP - +#ifdef FIFOP //Has there been an overflow? if((!FIFO)&&FIFOP){ debugstr("Clearing overflow"); @@ -159,7 +158,7 @@ void ccspi_handle_fn( uint8_t const app, ccspitrans8(CCSPI_RXFIFO | 0x40); //ccspitrans8(0x3F|0x40); cmddata[0]=0xff; //to be replaced with length - for(i=0;i