Subversion Repositories svn.mios32

Rev

Rev 1250 | Rev 1261 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1250 Rev 1258
Line 1... Line 1...
1
// $Id: app.c 1250 2011-07-13 21:23:17Z tk $
1
// $Id: app.c 1258 2011-07-16 23:00:49Z tk $
2
/*
2
/*
3
 * EmbSpeech Demo for MIOS32
3
 * EmbSpeech Demo for MIOS32
4
 *
4
 *
5
 * ==========================================================================
5
 * ==========================================================================
6
 *
6
 *
Line 326... Line 326...
326
        MIOS32_LCD_PrintFormattedString("Write Patch %d.%03d  ", bank+1, patch+1);
326
        MIOS32_LCD_PrintFormattedString("Write Patch %d.%03d  ", bank+1, patch+1);
327
        MIOS32_LCD_CursorSet(0, 1); // TMP - use message system later
327
        MIOS32_LCD_CursorSet(0, 1); // TMP - use message system later
328
        MIOS32_LCD_PrintFormattedString("Please wait...      ");
328
        MIOS32_LCD_PrintFormattedString("Please wait...      ");
329
        u8 sourceGroup = 0;
329
        u8 sourceGroup = 0;
330
        u8 rename_if_empty_name = 0;
330
        u8 rename_if_empty_name = 0;
331
        MUTEX_SDCARD_TAKE;
-
 
332
        if( (status=SYNTH_FILE_B_PatchWrite(synth_file_session_name, bank, patch, sourceGroup, rename_if_empty_name)) < 0 ) {
331
        if( (status=SYNTH_FILE_B_PatchWrite(synth_file_session_name, bank, patch, sourceGroup, rename_if_empty_name)) < 0 ) {
333
          DEBUG_MSG("Failed to write patch #%d into bank #%d (status: %d)\n", patch+1, bank+1, status);
332
          DEBUG_MSG("Failed to write patch #%d into bank #%d (status: %d)\n", patch+1, bank+1, status);
334
        }
333
        }
335
          }
334
          }
336
335