summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-03-31 15:26:33 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-03-31 15:26:33 +0000
commite041a3200b18859436c514109605f1efc535f234 (patch)
tree9c462986a09f586ef76130d688708a4a8f298a81 /firmware
parent8f1bc1f00ba230e49281a31036f1f19e455bf54b (diff)
downloadrockbox-e041a3200b18859436c514109605f1efc535f234.tar.gz
rockbox-e041a3200b18859436c514109605f1efc535f234.zip
Recording queue should be set to IRQ safe mode as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12983 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/pcm_record.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/pcm_record.c b/firmware/pcm_record.c
index 2e472c6537..e0bb664af1 100644
--- a/firmware/pcm_record.c
+++ b/firmware/pcm_record.c
@@ -428,6 +428,7 @@ unsigned long pcm_rec_sample_rate(void)
void pcm_rec_init(void)
{
queue_init(&pcmrec_queue, true);
+ queue_set_irq_safe(&pcmrec_queue, true);
queue_enable_queue_send(&pcmrec_queue, &pcmrec_queue_send);
pcmrec_thread_p =
create_thread(pcmrec_thread, pcmrec_stack, sizeof(pcmrec_stack),