tolerate firmware v1.32 for a V2 Recorder

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4191 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2004-01-05 07:26:59 +00:00
parent 2fa3ea313d
commit 974c2f0d43

View file

@ -283,6 +283,10 @@ bool CheckPlatform(int platform_id, UINT16 version)
{ /* it can be a FM or V2 recorder */ { /* it can be a FM or V2 recorder */
return (platform_id == ID_FM || platform_id == ID_REC_V2); return (platform_id == ID_FM || platform_id == ID_REC_V2);
} }
else if (version == 132)
{ /* seen on a V2 recorder */
return (platform_id == ID_REC_V2);
}
else if (version >= 115 && version <= 129) else if (version >= 115 && version <= 129)
{ /* the range of Recorders seen so far */ { /* the range of Recorders seen so far */
return (platform_id == ID_RECORDER); return (platform_id == ID_RECORDER);