fix exception - ensure chan param nullable down to DOSampletransfer when NO_USB defined

This commit is contained in:
Ed Clarke
2017-08-07 15:58:00 +01:00
parent ffb8baba20
commit 9886ee6362
2 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ typedef interface audManage_if
* \param c_config An optional channel that will be passed on to the
* CODEC configuration functions.
*/
void audio(chanend c_in,
void audio(chanend ?c_in,
#if defined(SPDIF_TX) && (SPDIF_TX_TILE != AUDIO_IO_TILE)
chanend c_spdif_tx,
#endif