forked from PAWPAW-Mirror/lib_xua
xpd: Cleaned up whitespace
This commit is contained in:
@@ -879,12 +879,12 @@ void testct_byref(chanend c, int &returnVal)
|
||||
if(testct(c))
|
||||
returnVal = 1;
|
||||
}
|
||||
|
||||
|
||||
[[combinable]]
|
||||
static void dummy_deliver(chanend c_out, unsigned &command)
|
||||
{
|
||||
int ct;
|
||||
|
||||
int ct;
|
||||
|
||||
|
||||
while (1)
|
||||
{
|
||||
@@ -1238,7 +1238,7 @@ chanend ?c_config, chanend ?c
|
||||
outct(c_mix_out, XS1_CT_END);
|
||||
|
||||
outuint(c_mix_out, 0);
|
||||
|
||||
|
||||
while (1)
|
||||
{
|
||||
#if XUD_TILE != 0
|
||||
|
||||
@@ -571,10 +571,10 @@ void Endpoint0(chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
||||
// Handshake
|
||||
chkct(c_audioControl, XS1_CT_END);
|
||||
}
|
||||
|
||||
|
||||
/* This will return 1 if reset requested */
|
||||
result = DFUDeviceRequests(ep0_out, &ep0_in, &sp, null, g_interfaceAlt[sp.wIndex], dfuInterface, &reset);
|
||||
|
||||
|
||||
if(reset && result == XUD_RES_OKAY)
|
||||
{
|
||||
DFUDelay(50000000);
|
||||
|
||||
@@ -32,7 +32,7 @@ typedef struct {
|
||||
clock qspiClkblk;
|
||||
} fl_QSPIPorts;
|
||||
*/
|
||||
fl_QSPIPorts p_qflash =
|
||||
fl_QSPIPorts p_qflash =
|
||||
{
|
||||
XS1_PORT_1B,
|
||||
XS1_PORT_1C,
|
||||
|
||||
@@ -299,7 +299,7 @@ void usb_audio_core(chanend c_mix_out
|
||||
#else
|
||||
#define c_EANativeTransport_ctrl null
|
||||
#endif
|
||||
|
||||
|
||||
par
|
||||
{
|
||||
/* USB Interface Core */
|
||||
@@ -521,23 +521,23 @@ int main()
|
||||
#endif
|
||||
|
||||
#ifdef DFU
|
||||
interface i_dfu dfuInterface;
|
||||
interface i_dfu dfuInterface;
|
||||
#else
|
||||
#define dfuInterface null
|
||||
#define dfuInterface null
|
||||
#endif
|
||||
|
||||
|
||||
USER_MAIN_DECLARATIONS
|
||||
|
||||
par
|
||||
{
|
||||
on tile[XUD_TILE]:
|
||||
{
|
||||
on tile[XUD_TILE]:
|
||||
par
|
||||
{
|
||||
#if (XUD_TILE == 0)
|
||||
/* Check if USB is on the flash tile (tile 0) */
|
||||
[[distribute]]
|
||||
DFUHandler(dfuInterface, null);
|
||||
[[distribute]]
|
||||
DFUHandler(dfuInterface, null);
|
||||
#endif
|
||||
usb_audio_core(c_mix_out
|
||||
#ifdef MIDI
|
||||
|
||||
Reference in New Issue
Block a user