Further size savings - no need to make call for 0-9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16678 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c0fb5b815e
commit
7757bcfdd6
1 changed files with 1 additions and 1 deletions
|
@ -1083,7 +1083,7 @@ void setvol(void)
|
|||
|
||||
static int hex2dec(int c)
|
||||
{
|
||||
return (((c) >= '0' && ((c) <= '9')) ? (toupper(c)) - '0' :
|
||||
return (((c) >= '0' && ((c) <= '9')) ? (c) - '0' :
|
||||
(toupper(c)) - 'A' + 10);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue