mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04: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
|
@ -693,7 +693,7 @@ static int clix_handle_game(struct clix_game_state_t* state)
|
|||
while(true)
|
||||
{
|
||||
if (TIME_AFTER(*rb->current_tick, blink_tick)) {
|
||||
state->blink = state->blink ? false : true;
|
||||
state->blink = !state->blink;
|
||||
blink_tick = *rb->current_tick + BLINK_TICKCOUNT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue