mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
rgnano: Fix simulator build
Change-Id: I2e6dfae25a2dae18e672c5584e8bd52c7bbd279a
This commit is contained in:
parent
46d10dda33
commit
209f833c7a
1 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@
|
|||
#include "maemo-thread.h"
|
||||
#endif
|
||||
|
||||
#ifdef RG_NANO
|
||||
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||
#include <signal.h>
|
||||
#include "instant_play.h"
|
||||
#endif
|
||||
|
@ -198,7 +198,7 @@ void power_off(void)
|
|||
/* wait for event thread to finish */
|
||||
SDL_WaitThread(evt_thread, NULL);
|
||||
|
||||
#ifdef RG_NANO
|
||||
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||
/* Reset volume/brightness to the values before launching rockbox */
|
||||
ip_reset_values();
|
||||
#endif
|
||||
|
@ -250,7 +250,7 @@ void system_init(void)
|
|||
g_type_init();
|
||||
#endif
|
||||
|
||||
#ifdef RG_NANO
|
||||
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||
/* Instant play handling */
|
||||
struct sigaction ip_sa;
|
||||
ip_sa.sa_handler = ip_handle_sigusr1;
|
||||
|
@ -301,7 +301,7 @@ void system_init(void)
|
|||
|
||||
void system_reboot(void)
|
||||
{
|
||||
#ifdef RG_NANO
|
||||
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||
/* Reset volume/brightness to the values before launching rockbox */
|
||||
ip_reset_values();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue