mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
sdmmc: the tCardInfo.initialized field needs to be an integer, not bool
Some drivers (Notably the PP SD driver) uses negative values to indicate errors. Change-Id: I9dbb065cbe90a62cde8a1d89bf6b450f40721790
This commit is contained in:
parent
f24bae5baf
commit
7df324b819
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
typedef struct
|
||||
{
|
||||
bool initialized;
|
||||
int initialized; /* 0, 1, or negative for errors */
|
||||
|
||||
unsigned long read_timeout; /* n * 8 clock cycles */
|
||||
unsigned long write_timeout; /* n * 8 clock cycles */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue