mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -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"
|
#include "maemo-thread.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RG_NANO
|
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include "instant_play.h"
|
#include "instant_play.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -198,7 +198,7 @@ void power_off(void)
|
||||||
/* wait for event thread to finish */
|
/* wait for event thread to finish */
|
||||||
SDL_WaitThread(evt_thread, NULL);
|
SDL_WaitThread(evt_thread, NULL);
|
||||||
|
|
||||||
#ifdef RG_NANO
|
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||||
/* Reset volume/brightness to the values before launching rockbox */
|
/* Reset volume/brightness to the values before launching rockbox */
|
||||||
ip_reset_values();
|
ip_reset_values();
|
||||||
#endif
|
#endif
|
||||||
|
@ -250,7 +250,7 @@ void system_init(void)
|
||||||
g_type_init();
|
g_type_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RG_NANO
|
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||||
/* Instant play handling */
|
/* Instant play handling */
|
||||||
struct sigaction ip_sa;
|
struct sigaction ip_sa;
|
||||||
ip_sa.sa_handler = ip_handle_sigusr1;
|
ip_sa.sa_handler = ip_handle_sigusr1;
|
||||||
|
@ -301,7 +301,7 @@ void system_init(void)
|
||||||
|
|
||||||
void system_reboot(void)
|
void system_reboot(void)
|
||||||
{
|
{
|
||||||
#ifdef RG_NANO
|
#if defined(RG_NANO) && !defined(SIMULATOR)
|
||||||
/* Reset volume/brightness to the values before launching rockbox */
|
/* Reset volume/brightness to the values before launching rockbox */
|
||||||
ip_reset_values();
|
ip_reset_values();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue