summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index b49c3b35b5..80e871597e 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -1267,6 +1267,7 @@ static const unsigned char empty_id3_header[] =
1267 0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */ 1267 0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */
1268}; 1268};
1269 1269
1270#ifdef HAVE_MAS3587F
1270static unsigned long get_last_recorded_header(void) 1271static unsigned long get_last_recorded_header(void)
1271{ 1272{
1272 unsigned long tmp[2]; 1273 unsigned long tmp[2];
@@ -1276,6 +1277,7 @@ static unsigned long get_last_recorded_header(void)
1276 mas_readmem(MAS_BANK_D0, 0xfd1, tmp, 2); 1277 mas_readmem(MAS_BANK_D0, 0xfd1, tmp, 2);
1277 return 0xffe00000 | ((tmp[0] & 0x7c00) << 6) | (tmp[1] & 0xffff); 1278 return 0xffe00000 | ((tmp[0] & 0x7c00) << 6) | (tmp[1] & 0xffff);
1278} 1279}
1280#endif
1279 1281
1280static void mpeg_thread(void) 1282static void mpeg_thread(void)
1281{ 1283{