mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Introduce IHIFI760/960 targets.
Change-Id: Ie36e48742c0ed9aa3fd6f49aa034a11d2492327c
This commit is contained in:
parent
04c59b8a15
commit
5b5f0755d6
18 changed files with 1212 additions and 2 deletions
|
|
@ -134,6 +134,9 @@ static inline bool card_detect_target(void)
|
|||
return !(GPIO_PFDR & (1<<2));
|
||||
#elif defined(MA9) || defined(MA9C) || defined(MA8) || defined(MA8C)
|
||||
return (GPIO_PCDR & 0x80);
|
||||
#elif defined(IHIFI760) || defined(IHIFI960)
|
||||
/* TODO: find out pin */
|
||||
return true;
|
||||
#else
|
||||
#error "Unknown target"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue