Fixed simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4815 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9814089f6f
commit
7eb4692e0e
1 changed files with 6 additions and 5 deletions
|
@ -489,6 +489,8 @@ void reset_settings(void)
|
|||
*********************************/
|
||||
void save_settings(void)
|
||||
{
|
||||
int fd;
|
||||
|
||||
rb->lcd_clear_display();
|
||||
|
||||
show_logo(true, true);
|
||||
|
@ -496,7 +498,6 @@ void save_settings(void)
|
|||
|
||||
rb->lcd_update();
|
||||
|
||||
int fd;
|
||||
fd = rb->creat(default_filename, O_WRONLY);
|
||||
|
||||
if(fd >= 0)
|
||||
|
@ -1403,13 +1404,13 @@ void f2_screen(void)
|
|||
**********************/
|
||||
bool f3_screen(void)
|
||||
{
|
||||
done = false;
|
||||
|
||||
int invert_analog = 1;
|
||||
int invert_digital = 1;
|
||||
int invert_lcd = 1;
|
||||
int invert_fullscreen = 1;
|
||||
|
||||
done = false;
|
||||
|
||||
while (!done)
|
||||
{
|
||||
rb->lcd_clear_display();
|
||||
|
@ -1958,8 +1959,6 @@ void draw_extras(int year, int day, int month, int hour, int minute, int second)
|
|||
****************/
|
||||
void select_mode(void)
|
||||
{
|
||||
done = false;
|
||||
|
||||
int cursorpos = settings.clock;
|
||||
bool a = false; /* (a)nalog */
|
||||
bool d = false; /* (d)igital */
|
||||
|
@ -1967,6 +1966,8 @@ void select_mode(void)
|
|||
bool f = false; /* (f)ullscreen */
|
||||
bool b = false; /* (b)inary */
|
||||
|
||||
done = false;
|
||||
|
||||
while(!done)
|
||||
{
|
||||
rb->lcd_clear_display();
|
||||
|
|
Loading…
Reference in a new issue