mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Simplify some expressions using the ? operator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e35a15cf54
commit
5c4ef78cc9
8 changed files with 10 additions and 12 deletions
|
|
@ -359,7 +359,7 @@ static int sd_init_card(const int drive)
|
|||
sd_parse_csd(&card_info[drive]);
|
||||
|
||||
#if defined(HAVE_MULTIDRIVE)
|
||||
hs_card = (card_info[drive].speed == 50000000) ? true : false;
|
||||
hs_card = (card_info[drive].speed == 50000000);
|
||||
#endif
|
||||
|
||||
/* Boost MCICLK to operating speed */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue