Don't need huge buffer here.

This commit is contained in:
Russell
2012-01-06 11:45:14 +00:00
parent 188412c1de
commit 87e2fa6abd

View File

@@ -144,7 +144,7 @@ void VendorAudioRequestsInit(chanend c_audioControl, chanend ?c_mix_ctl, chanend
void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl, void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
chanend ?c_mix_ctl, chanend ?c_clk_ctl, chanend ?c_usb_test) chanend ?c_mix_ctl, chanend ?c_clk_ctl, chanend ?c_usb_test)
{ {
unsigned char buffer[512]; unsigned char buffer[2];
SetupPacket sp; SetupPacket sp;
XUD_ep ep0_out = XUD_Init_Ep(c_ep0_out); XUD_ep ep0_out = XUD_Init_Ep(c_ep0_out);
XUD_ep ep0_in = XUD_Init_Ep(c_ep0_in); XUD_ep ep0_in = XUD_Init_Ep(c_ep0_in);