usb_buffer now takes channel param for interrupt EP. Added required functionality.

This commit is contained in:
Ross Owen
2014-07-29 14:33:47 +01:00
parent 5e0e063c10
commit de0a7e3d6e
2 changed files with 45 additions and 13 deletions

View File

@@ -12,6 +12,7 @@
* \param c_midi_from_host MIDI OUT endpoint channel connected to the XUD
* \param c_midi_to_host MIDI IN endpoint channel connected to the XUD
* \param c_int Audio clocking interrupt endpoint channel connected to the XUD
* \param c_clk_int Optional chanend connected to the clockGen() thread if present
* \param c_sof Start of frame channel connected to the XUD
* \param c_aud_ctl Audio control channel connected to Endpoint0()
* \param p_off_mclk A port that is clocked of the MCLK input (not the MCLK input itself)
@@ -33,7 +34,8 @@ void buffer(chanend c_aud_out,
chanend c_iap,
#endif
#if defined(SPDIF_RX) || defined(ADAT_RX)
chanend? c_int,
chanend ?c_int,
chanend ?c_clk_int,
#endif
chanend c_sof,
chanend c_aud_ctl,