Firmware/MSU1: stop DAC at end of audio file

This commit is contained in:
ikari 2012-01-14 12:18:13 +01:00
parent b8f4c9b584
commit da2386e453

View File

@ -254,6 +254,7 @@ int msu1_loop() {
f_read(&file_handle, file_buf, (MSU_DAC_BUFSIZE / 2) - bytes_read, &bytes_read);
} else {
set_msu_status(0x00, 0x02); /* clear play bit */
dac_pause();
}
bytes_read = MSU_DAC_BUFSIZE;
}