diff options
Diffstat (limited to 'firmware/pcm_playback.c')
-rw-r--r-- | firmware/pcm_playback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c index fe71fa3862..36c6ab6a75 100644 --- a/firmware/pcm_playback.c +++ b/firmware/pcm_playback.c | |||
@@ -59,8 +59,8 @@ static bool pcm_playing; | |||
59 | static bool pcm_paused; | 59 | static bool pcm_paused; |
60 | static int pcm_freq = 0x6; /* 44.1 is default */ | 60 | static int pcm_freq = 0x6; /* 44.1 is default */ |
61 | 61 | ||
62 | static unsigned char *next_start; | 62 | static unsigned char *next_start IDATA_ATTR; |
63 | static long next_size; | 63 | static long next_size IDATA_ATTR; |
64 | 64 | ||
65 | /* Set up the DMA transfer that kicks in when the audio FIFO gets empty */ | 65 | /* Set up the DMA transfer that kicks in when the audio FIFO gets empty */ |
66 | static void dma_start(const void *addr, long size) | 66 | static void dma_start(const void *addr, long size) |
@@ -193,7 +193,7 @@ void pcm_set_frequency(unsigned int frequency) | |||
193 | } | 193 | } |
194 | 194 | ||
195 | /* the registered callback function to ask for more mp3 data */ | 195 | /* the registered callback function to ask for more mp3 data */ |
196 | static void (*callback_for_more)(unsigned char**, long*) = NULL; | 196 | static void (*callback_for_more)(unsigned char**, long*) IDATA_ATTR = NULL; |
197 | 197 | ||
198 | void pcm_play_data(void (*get_more)(unsigned char** start, long* size)) | 198 | void pcm_play_data(void (*get_more)(unsigned char** start, long* size)) |
199 | { | 199 | { |