DFU related build fixes

This commit is contained in:
xross
2017-11-02 14:49:26 +00:00
parent abcb6e55b2
commit ed2a4701a5
4 changed files with 3 additions and 6 deletions

View File

@@ -10,6 +10,8 @@
#include "xua_endpoint0.h"
#include "xua_buffer.h"
//#include "xua_dfu.h"
#endif
#endif

View File

@@ -1047,11 +1047,6 @@ void SpdifTxWrapper(chanend c_spdif_tx)
/* This function is a dummy version of the deliver thread that does not
connect to the codec ports. It is used during DFU reset. */
#if (XUA_DFU == 1)
[[distributable]]
void DFUHandler(server interface i_dfu i, chanend ?c_user_cmd);
#endif
#pragma select handler
void testct_byref(chanend c, int &returnVal)
{

View File

@@ -49,7 +49,7 @@
#include "xua_pdm_mic.h"
#endif
#ifdef DFU
#if XUA_DFU_EN == 1
[[distributable]]
void DFUHandler(server interface i_dfu i, chanend ?c_user_cmd);
#endif