Hopefully correct charger connected detection for ipod video thanks to Herz's patch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9090 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Brandon Low 2006-03-18 09:16:56 +00:00
parent 03627e0539
commit 96e4946d9d

View file

@ -124,8 +124,7 @@ bool charger_inserted(void)
#elif defined(TOSHIBA_GIGABEAT_F)
return false;
#elif defined(APPLE_IPODVIDEO)
/* We need to get this value a faster way than i2c */
return (GPIOA_INPUT_VAL & 0x10)?true:false;
return (GPIOL_INPUT_VAL & 0x08)?false:true;
#elif defined(IPOD_ARCH)
/* This needs filling in for other ipods. */
return false;