mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Since *set_led_enabled() is actually an ata-specific feature, move it back to ata_* only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19006 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5a00367a08
commit
059fff29ec
6 changed files with 10 additions and 38 deletions
|
|
@ -66,6 +66,10 @@
|
|||
#include "talk.h"
|
||||
#include "sound.h"
|
||||
#include "storage.h"
|
||||
#if (CONFIG_STORAGE & STORAGE_ATA) && (CONFIG_LED == LED_REAL) \
|
||||
&& !defined(SIMULATOR)
|
||||
#include "ata.h"
|
||||
#endif
|
||||
#include "splash.h"
|
||||
#include "screen_access.h"
|
||||
#include "action.h"
|
||||
|
|
@ -1033,8 +1037,9 @@ bool recording_screen(bool no_source)
|
|||
struct audio_recording_options rec_options;
|
||||
rec_status = RCSTAT_IN_RECSCREEN;
|
||||
|
||||
#if (CONFIG_LED == LED_REAL) && !defined(SIMULATOR)
|
||||
storage_set_led_enabled(false);
|
||||
#if (CONFIG_STORAGE & STORAGE_ATA) && (CONFIG_LED == LED_REAL) \
|
||||
&& !defined(SIMULATOR)
|
||||
ata_set_led_enabled(false);
|
||||
#endif
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
|
|
@ -1904,8 +1909,9 @@ rec_abort:
|
|||
if (rec_status & (RCSTAT_CREATED_DIRECTORY | RCSTAT_HAVE_RECORDED))
|
||||
reload_directory();
|
||||
|
||||
#if (CONFIG_LED == LED_REAL) && !defined(SIMULATOR)
|
||||
storage_set_led_enabled(true);
|
||||
#if (CONFIG_STORAGE & STORAGE_ATA) && (CONFIG_LED == LED_REAL) \
|
||||
&& !defined(SIMULATOR)
|
||||
ata_set_led_enabled(true);
|
||||
#endif
|
||||
|
||||
#if CONFIG_TUNER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue