From 9be2eece00752df43d0d9ff3edf169407df30a72 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 22 May 2015 11:29:03 +0100 Subject: [PATCH] xpd: Cleaned up whitespace --- module_usb_audio/audio.xc | 12 ++++++------ module_usb_audio/main.xc | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/module_usb_audio/audio.xc b/module_usb_audio/audio.xc index 1dd9061d..f35bb940 100755 --- a/module_usb_audio/audio.xc +++ b/module_usb_audio/audio.xc @@ -314,7 +314,7 @@ static inline void InitPorts(unsigned divide) if(dsdMode == DSD_MODE_OFF) { #endif - + if(divide != 1) { /* b_clk must start high */ @@ -364,8 +364,8 @@ static inline void InitPorts(unsigned divide) } else /* Divide != 1 */ { - - + + #if (I2S_CHANS_DAC != 0) /* Pre-fill the DAC ports */ for(int i = 0; i < I2S_WIRES_DAC; i++) @@ -636,7 +636,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out, if(buffIndex) samplesIn_1[((frameCount-2)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 0, 2, 4.. on each line. else - samplesIn_0[((frameCount-2)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); + samplesIn_0[((frameCount-2)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); } #endif @@ -725,7 +725,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out, samplesIn_1[((frameCount-1)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 1, 3, 5.. on each line. else samplesIn_0[((frameCount-1)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 1, 3, 5.. on each line. - + } #ifdef SU1_ADC_ENABLE @@ -737,7 +737,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out, } #endif #endif - + #ifndef CODEC_MASTER #ifdef I2S_MODE_TDM if(frameCount == (I2S_CHANS_PER_FRAME-2)) diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 642a9fa3..968c7baa 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -160,7 +160,7 @@ on tile[XUD_TILE] : clock clk_spd_rx = CLKBLK_SPDIF_RX; #endif #if(XUD_SERIES_SUPPORT == XUD_L_SERIES) && defined(ADAT_RX) -/* Cannot use default clock (CLKBLK_REF) for ADAT RX since it is tied to the +/* Cannot use default clock (CLKBLK_REF) for ADAT RX since it is tied to the 60MHz USB clock on G/L series parts. */ on tile[XUD_TILE] : clock clk_adat_rx = CLKBLK_ADAT_RX; #endif