Now exports last_disk_activity, for auto-poweroff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2373 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2aee04366f
commit
040e80c3ad
2 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,7 @@ static unsigned char delayed_sector[SECTOR_SIZE];
|
|||
static int delayed_sector_num;
|
||||
|
||||
static long last_user_activity = -1;
|
||||
static long last_disk_activity = -1;
|
||||
long last_disk_activity = -1;
|
||||
|
||||
static int multisectors; /* number of supported multisectors */
|
||||
static unsigned short identify_info[SECTOR_SIZE];
|
||||
|
|
|
@ -45,4 +45,6 @@ extern void ata_delayed_write(unsigned long sector, void* buf);
|
|||
extern void ata_flush(void);
|
||||
extern void ata_spin(void);
|
||||
|
||||
extern long last_disk_activity;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue