Code: Select all
while(currDeltaTime==nextDeltaTime){
c1=pgm_read_byte(songPos++);
if(c1==0xff){
//META data type event
c1=pgm_read_byte(songPos++);
if(c1==0x2f){ //end of song
playSong=false;
break;