Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 1539 → Rev 1540

/trunk/apps/tutorials/019_midi_player/mid_file.c
175,8 → 175,8
/////////////////////////////////////////////////////////////////////////////
s32 MID_FILE_eof(void)
{
if( midifile_pos >= midifile_len )
return 1; // end of file reached
if( midifile_pos >= midifile_len || !FILE_SDCardAvailable() )
return 1; // end of file reached or SD card disconnected
 
return 0;
}