forked from PAWPAW-Mirror/lib_xua
ClockGen implementation adat_rx chanend now nullable
This commit is contained in:
@@ -200,7 +200,7 @@ extern int samples_to_host_inputs_buff[NUM_USB_CHAN_IN]; /* Audio transmi
|
||||
int VendorAudCoreReqs(unsigned cmd, chanend c);
|
||||
|
||||
#pragma unsafe arrays
|
||||
void clockGen (streaming chanend c_spdif_rx, chanend c_adat_rx, out port p, chanend c_dig_rx, chanend c_clk_ctl, chanend c_clk_int)
|
||||
void clockGen (streaming chanend c_spdif_rx, chanend ?c_adat_rx, out port p, chanend c_dig_rx, chanend c_clk_ctl, chanend c_clk_int)
|
||||
{
|
||||
timer t_local;
|
||||
unsigned timeNextEdge, timeLastEdge, timeNextClockDetection;
|
||||
@@ -256,7 +256,6 @@ void clockGen (streaming chanend c_spdif_rx, chanend c_adat_rx, out port p, chan
|
||||
g_digData[i] = 0;
|
||||
}
|
||||
|
||||
|
||||
/* Init clock unit state */
|
||||
#ifdef SPDIF_RX
|
||||
clockFreq[CLOCK_SPDIF_INDEX] = 0;
|
||||
|
||||
Reference in New Issue
Block a user