forked from PAWPAW-Mirror/lib_xua
DFU related build fixes
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#include "xua_endpoint0.h"
|
||||
|
||||
#include "xua_buffer.h"
|
||||
|
||||
//#include "xua_dfu.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user