forked from PAWPAW-Mirror/lib_xua
Removed extra bracing and fixed bad comment
This commit is contained in:
@@ -665,7 +665,7 @@ void clockGen (streaming chanend ?c_spdif_rx, chanend ?c_adat_rx, out port p, ch
|
|||||||
/* Inspect for if we need to produce an edge */
|
/* Inspect for if we need to produce an edge */
|
||||||
if ((adatCounters.receivedSamples >= adatCounters.samplesPerTick))
|
if ((adatCounters.receivedSamples >= adatCounters.samplesPerTick))
|
||||||
{
|
{
|
||||||
/* Check edge is about right... S/PDIF may have changed freq... */
|
/* Check edge is about right... ADAT may have changed freq... */
|
||||||
if (timeafter(adatReceivedTime, (timeLastEdge + LOCAL_CLOCK_INCREMENT - LOCAL_CLOCK_MARGIN)))
|
if (timeafter(adatReceivedTime, (timeLastEdge + LOCAL_CLOCK_INCREMENT - LOCAL_CLOCK_MARGIN)))
|
||||||
{
|
{
|
||||||
/* Record edge time */
|
/* Record edge time */
|
||||||
|
|||||||
@@ -255,7 +255,6 @@ static inline void GiveSamplesToDevice(chanend c, xc_ptr ptr, xc_ptr multOut)
|
|||||||
#if(NUM_USB_CHAN_OUT == 0)
|
#if(NUM_USB_CHAN_OUT == 0)
|
||||||
outuint(c, 0);
|
outuint(c, 0);
|
||||||
#else
|
#else
|
||||||
{
|
|
||||||
#pragma loop unroll
|
#pragma loop unroll
|
||||||
for (int i=0; i<NUM_USB_CHAN_OUT; i++)
|
for (int i=0; i<NUM_USB_CHAN_OUT; i++)
|
||||||
{
|
{
|
||||||
@@ -299,7 +298,6 @@ static inline void GiveSamplesToDevice(chanend c, xc_ptr ptr, xc_ptr multOut)
|
|||||||
outuint(c, sample);
|
outuint(c, sample);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user