Pipe_GetErrorFlags() now returns additional error flags for overflow and underflow errors.

Change MIDI demos to use real MIDI command values, and shift for the USB wrapper, rather than shift for the MIDI bytes. This is a little confusing for the MIDI USB wrapper, but allows for the use of real standardized MIDI command values.
This commit is contained in:
Dean Camera 2009-06-16 07:17:22 +00:00
parent 39d07c3da0
commit dcf303762a
7 changed files with 23 additions and 13 deletions

View file

@ -64,8 +64,8 @@ uint8_t CMD_LEFTDOWN[8] = { 0, 1, 0, 0, 1, 0, 8, 8 };
uint8_t CMD_RIGHTDOWN[8] = { 0, 0, 1, 0, 1, 0, 8, 8 };
uint8_t CMD_FIRE[8] = { 0, 0, 0, 0, 0, 1, 8, 8 };
uint8_t *CmdState;
uint8_t CmdBuffer[LAUNCHER_CMD_BUFFER_SIZE];
uint8_t* CmdState;
uint8_t CmdBuffer[LAUNCHER_CMD_BUFFER_SIZE];
/** Main program entry point. This routine configures the hardware required by the application, then
* starts the scheduler to run the application tasks.