xpd: Cleaned up whitespace

This commit is contained in:
Ross Owen
2015-05-22 11:29:03 +01:00
parent beab95f15e
commit 9be2eece00
2 changed files with 7 additions and 7 deletions

View File

@@ -314,7 +314,7 @@ static inline void InitPorts(unsigned divide)
if(dsdMode == DSD_MODE_OFF) if(dsdMode == DSD_MODE_OFF)
{ {
#endif #endif
if(divide != 1) if(divide != 1)
{ {
/* b_clk must start high */ /* b_clk must start high */
@@ -364,8 +364,8 @@ static inline void InitPorts(unsigned divide)
} }
else /* Divide != 1 */ else /* Divide != 1 */
{ {
#if (I2S_CHANS_DAC != 0) #if (I2S_CHANS_DAC != 0)
/* Pre-fill the DAC ports */ /* Pre-fill the DAC ports */
for(int i = 0; i < I2S_WIRES_DAC; i++) 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) if(buffIndex)
samplesIn_1[((frameCount-2)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 0, 2, 4.. on each line. samplesIn_1[((frameCount-2)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 0, 2, 4.. on each line.
else 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 #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. samplesIn_1[((frameCount-1)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 1, 3, 5.. on each line.
else else
samplesIn_0[((frameCount-1)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 1, 3, 5.. on each line. samplesIn_0[((frameCount-1)&(I2S_CHANS_PER_FRAME-1))+i] = bitrev(sample); // channels 1, 3, 5.. on each line.
} }
#ifdef SU1_ADC_ENABLE #ifdef SU1_ADC_ENABLE
@@ -737,7 +737,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out,
} }
#endif #endif
#endif #endif
#ifndef CODEC_MASTER #ifndef CODEC_MASTER
#ifdef I2S_MODE_TDM #ifdef I2S_MODE_TDM
if(frameCount == (I2S_CHANS_PER_FRAME-2)) if(frameCount == (I2S_CHANS_PER_FRAME-2))

View File

@@ -160,7 +160,7 @@ on tile[XUD_TILE] : clock clk_spd_rx = CLKBLK_SPDIF_RX;
#endif #endif
#if(XUD_SERIES_SUPPORT == XUD_L_SERIES) && defined(ADAT_RX) #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. */ 60MHz USB clock on G/L series parts. */
on tile[XUD_TILE] : clock clk_adat_rx = CLKBLK_ADAT_RX; on tile[XUD_TILE] : clock clk_adat_rx = CLKBLK_ADAT_RX;
#endif #endif