diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-02 16:03:30 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-02 16:03:30 +0000 |
commit | 799a0a5cd4001954d8e0e855af4236e1f7b0898d (patch) | |
tree | c9d94e6fd588e1cfd2a97729ad05b486f6f30fe5 /firmware/drivers/tuner/ipod_remote_tuner.c | |
parent | d03768bc14da12f940f01993bb6df1ffd8935fe7 (diff) | |
download | rockbox-799a0a5cd4001954d8e0e855af4236e1f7b0898d.tar.gz rockbox-799a0a5cd4001954d8e0e855af4236e1f7b0898d.zip |
Simplify some boolean expressions that compare directly against 'true'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/tuner/ipod_remote_tuner.c')
-rw-r--r-- | firmware/drivers/tuner/ipod_remote_tuner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/tuner/ipod_remote_tuner.c b/firmware/drivers/tuner/ipod_remote_tuner.c index 07a5eeb9a6..82357593d4 100644 --- a/firmware/drivers/tuner/ipod_remote_tuner.c +++ b/firmware/drivers/tuner/ipod_remote_tuner.c | |||
@@ -300,7 +300,7 @@ int ipod_rmt_tuner_set(int setting, int value) | |||
300 | case RADIO_FREQUENCY: | 300 | case RADIO_FREQUENCY: |
301 | { | 301 | { |
302 | rmt_tuner_set_freq(value); | 302 | rmt_tuner_set_freq(value); |
303 | if (reply_timeout() == true) | 303 | if (reply_timeout()) |
304 | return 0; | 304 | return 0; |
305 | break; | 305 | break; |
306 | } | 306 | } |
@@ -326,7 +326,7 @@ int ipod_rmt_tuner_set(int setting, int value) | |||
326 | else | 326 | else |
327 | rmt_tuner_scan(1); | 327 | rmt_tuner_scan(1); |
328 | 328 | ||
329 | if (reply_timeout() == true) | 329 | if (reply_timeout()) |
330 | return 0; | 330 | return 0; |
331 | radio_tuned = 0; | 331 | radio_tuned = 0; |
332 | } | 332 | } |