xpd: Cleaned up whitespace

This commit is contained in:
Ross Owen
2015-06-19 16:11:59 +01:00
parent 8b98db1b0f
commit cdc2d74016
7 changed files with 38 additions and 38 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -32,7 +32,7 @@ typedef struct {
clock qspiClkblk;
} fl_QSPIPorts;
*/
fl_QSPIPorts p_qflash =
fl_QSPIPorts p_qflash =
{
XS1_PORT_1B,
XS1_PORT_1C,

View File

@@ -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