forked from len0rd/rockbox
Fixed yellow and red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4182 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8941ad5c6a
commit
1c4ea83bba
2 changed files with 5 additions and 3 deletions
|
@ -110,6 +110,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
|
|
||||||
struct tm* current_time;
|
struct tm* current_time;
|
||||||
|
|
||||||
|
bool exit = false;
|
||||||
|
bool used = false;
|
||||||
|
|
||||||
TEST_PLUGIN_API(api);
|
TEST_PLUGIN_API(api);
|
||||||
(void)parameter;
|
(void)parameter;
|
||||||
rb = api;
|
rb = api;
|
||||||
|
@ -127,9 +130,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
|
|
||||||
/* start all the clock stuff */
|
/* start all the clock stuff */
|
||||||
|
|
||||||
bool exit = false;
|
|
||||||
bool used = false;
|
|
||||||
|
|
||||||
/* Time info */
|
/* Time info */
|
||||||
current_time = rb->get_time();
|
current_time = rb->get_time();
|
||||||
hour = current_time->tm_hour;
|
hour = current_time->tm_hour;
|
||||||
|
|
|
@ -1267,6 +1267,7 @@ static const unsigned char empty_id3_header[] =
|
||||||
0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */
|
0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef HAVE_MAS3587F
|
||||||
static unsigned long get_last_recorded_header(void)
|
static unsigned long get_last_recorded_header(void)
|
||||||
{
|
{
|
||||||
unsigned long tmp[2];
|
unsigned long tmp[2];
|
||||||
|
@ -1276,6 +1277,7 @@ static unsigned long get_last_recorded_header(void)
|
||||||
mas_readmem(MAS_BANK_D0, 0xfd1, tmp, 2);
|
mas_readmem(MAS_BANK_D0, 0xfd1, tmp, 2);
|
||||||
return 0xffe00000 | ((tmp[0] & 0x7c00) << 6) | (tmp[1] & 0xffff);
|
return 0xffe00000 | ((tmp[0] & 0x7c00) << 6) | (tmp[1] & 0xffff);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void mpeg_thread(void)
|
static void mpeg_thread(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue