VendorAudioRequests() header change such that can be called from C

This commit is contained in:
Ross Owen
2014-03-06 10:27:44 +00:00
parent 01da998328
commit f39785d9d8

View File

@@ -1,6 +1,8 @@
#ifndef _VENDORREQUESTS_H_
#define _VENDORREQUESTS_H_
#include <xccompat.h>
/* Functions that handle vustomer vendor requests.
*
* THESE NEED IMPLEMENTING FOR A SPECIFIC DESIGN
@@ -10,7 +12,9 @@
* */
int VendorAudioRequests(XUD_ep ep0_out, XUD_ep ep0_in, unsigned char bRequest, unsigned char cs, unsigned char cn,
unsigned short unitId, unsigned char direction, chanend c_audioControl, chanend ?c_mix_ctl, chanend ?c_clk_ctL);
unsigned short unitId, unsigned char direction, chanend c_audioControl,
NULLABLE_RESOURCE(chanend, c_mix_ctl),
NULLABLE_RESOURCE(chanend, c_clk_ctL));
#endif