m:robe 100: add USB detection

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16480 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Kukla 2008-03-02 13:07:11 +00:00
parent c3485867e1
commit ea92e4c2d7

View file

@ -106,7 +106,7 @@ static bool usb_pin_detect(void)
if (GPIOB_INPUT_VAL & 0x10)
retval = true;
#elif defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
#elif defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || defined(MROBE_100)
/* GPIO L bit 2 is usb detect */
if (GPIOL_INPUT_VAL & 0x4)
retval = true;