mirror of
https://github.com/STMicroelectronics/stm32-mw-usb-device.git
synced 2026-02-08 20:18:07 -05:00
Release v2.6.0
This commit is contained in:
@@ -70,7 +70,7 @@ static int8_t TEMPLATE_DeInit(uint32_t options);
|
||||
static int8_t TEMPLATE_AudioCmd(uint8_t *pbuf, uint32_t size, uint8_t cmd);
|
||||
static int8_t TEMPLATE_VolumeCtl(uint8_t vol);
|
||||
static int8_t TEMPLATE_MuteCtl(uint8_t cmd);
|
||||
static int8_t TEMPLATE_PeriodicTC(uint8_t cmd);
|
||||
static int8_t TEMPLATE_PeriodicTC(uint8_t *pbuf, uint32_t size, uint8_t cmd);
|
||||
static int8_t TEMPLATE_GetState(void);
|
||||
|
||||
USBD_AUDIO_ItfTypeDef USBD_AUDIO_Template_fops =
|
||||
@@ -94,6 +94,10 @@ USBD_AUDIO_ItfTypeDef USBD_AUDIO_Template_fops =
|
||||
*/
|
||||
static int8_t TEMPLATE_Init(uint32_t AudioFreq, uint32_t Volume, uint32_t options)
|
||||
{
|
||||
UNUSED(AudioFreq);
|
||||
UNUSED(Volume);
|
||||
UNUSED(options);
|
||||
|
||||
/*
|
||||
Add your initialization code here
|
||||
*/
|
||||
@@ -108,6 +112,8 @@ static int8_t TEMPLATE_Init(uint32_t AudioFreq, uint32_t Volume, uint32_t optio
|
||||
*/
|
||||
static int8_t TEMPLATE_DeInit(uint32_t options)
|
||||
{
|
||||
UNUSED(options);
|
||||
|
||||
/*
|
||||
Add your deinitialization code here
|
||||
*/
|
||||
@@ -125,6 +131,10 @@ static int8_t TEMPLATE_DeInit(uint32_t options)
|
||||
*/
|
||||
static int8_t TEMPLATE_AudioCmd(uint8_t *pbuf, uint32_t size, uint8_t cmd)
|
||||
{
|
||||
UNUSED(pbuf);
|
||||
UNUSED(size);
|
||||
UNUSED(cmd);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -135,6 +145,8 @@ static int8_t TEMPLATE_AudioCmd(uint8_t *pbuf, uint32_t size, uint8_t cmd)
|
||||
*/
|
||||
static int8_t TEMPLATE_VolumeCtl(uint8_t vol)
|
||||
{
|
||||
UNUSED(vol);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -145,6 +157,8 @@ static int8_t TEMPLATE_VolumeCtl(uint8_t vol)
|
||||
*/
|
||||
static int8_t TEMPLATE_MuteCtl(uint8_t cmd)
|
||||
{
|
||||
UNUSED(cmd);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -153,8 +167,12 @@ static int8_t TEMPLATE_MuteCtl(uint8_t cmd)
|
||||
* @param cmd
|
||||
* @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL
|
||||
*/
|
||||
static int8_t TEMPLATE_PeriodicTC(uint8_t cmd)
|
||||
static int8_t TEMPLATE_PeriodicTC(uint8_t *pbuf, uint32_t size, uint8_t cmd)
|
||||
{
|
||||
UNUSED(pbuf);
|
||||
UNUSED(size);
|
||||
UNUSED(cmd);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user