mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-18 09:32:40 -05:00
Remove unnecessary sim stubs and includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14303 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
26eb048e7a
commit
542ff8b8c3
1 changed files with 0 additions and 27 deletions
|
|
@ -24,8 +24,6 @@
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "power.h"
|
#include "power.h"
|
||||||
#include "logf.h"
|
#include "logf.h"
|
||||||
#include "pcf50605.h"
|
|
||||||
#include "pcf50606.h"
|
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
|
|
||||||
#if CONFIG_CHARGING == CHARGING_CONTROL
|
#if CONFIG_CHARGING == CHARGING_CONTROL
|
||||||
|
|
@ -81,7 +79,6 @@ void power_init(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if CONFIG_CHARGING
|
#if CONFIG_CHARGING
|
||||||
bool charger_inserted(void)
|
bool charger_inserted(void)
|
||||||
{
|
{
|
||||||
|
|
@ -196,7 +193,6 @@ bool ide_powered(void)
|
||||||
}
|
}
|
||||||
#endif /* !HAVE_MMC */
|
#endif /* !HAVE_MMC */
|
||||||
|
|
||||||
|
|
||||||
void power_off(void)
|
void power_off(void)
|
||||||
{
|
{
|
||||||
set_irq_level(HIGHEST_IRQ_LEVEL);
|
set_irq_level(HIGHEST_IRQ_LEVEL);
|
||||||
|
|
@ -217,27 +213,4 @@ void power_off(void)
|
||||||
yield();
|
yield();
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
void charger_enable(bool on)
|
|
||||||
{
|
|
||||||
(void)on;
|
|
||||||
}
|
|
||||||
|
|
||||||
void power_off(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void ide_power_enable(bool on)
|
|
||||||
{
|
|
||||||
(void)on;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef HAVE_SPDIF_POWER
|
|
||||||
void spdif_power_enable(bool on)
|
|
||||||
{
|
|
||||||
(void)on;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* SIMULATOR */
|
#endif /* SIMULATOR */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue