mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 19:42:40 -05:00
M:Robe 500: Add in coldstart detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23999 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7c1fa7cf61
commit
5bc85067eb
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ void ata_enable(bool on)
|
|||
|
||||
bool ata_is_coldstart(void)
|
||||
{
|
||||
return true;
|
||||
/* If the reset pin direction is unconfigured it is a coldstart */
|
||||
return (IO_GIO_DIR0&(1<<10));
|
||||
}
|
||||
|
||||
void ata_device_init(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue