diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-01 22:47:25 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-01 22:47:25 +0000 |
commit | 5c4ef78cc983212a0c2e0868929aa2b699855087 (patch) | |
tree | 6bf9a1e14b5aaf4961561673ee4ef364b3790562 /firmware/target/arm | |
parent | e35a15cf54a104ff58ee889112d5040654f85ccc (diff) | |
download | rockbox-5c4ef78cc983212a0c2e0868929aa2b699855087.tar.gz rockbox-5c4ef78cc983212a0c2e0868929aa2b699855087.zip |
Simplify some expressions using the ? operator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 8d0dc042b9..99bf668ec4 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c | |||
@@ -359,7 +359,7 @@ static int sd_init_card(const int drive) | |||
359 | sd_parse_csd(&card_info[drive]); | 359 | sd_parse_csd(&card_info[drive]); |
360 | 360 | ||
361 | #if defined(HAVE_MULTIDRIVE) | 361 | #if defined(HAVE_MULTIDRIVE) |
362 | hs_card = (card_info[drive].speed == 50000000) ? true : false; | 362 | hs_card = (card_info[drive].speed == 50000000); |
363 | #endif | 363 | #endif |
364 | 364 | ||
365 | /* Boost MCICLK to operating speed */ | 365 | /* Boost MCICLK to operating speed */ |