Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jvpernis committed Jan 26, 2020
2 parents 477b217 + 1cd27a4 commit 232984e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ps3.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ void ps3SetLed( uint8_t player )
// player 9 1 1 1
// player 10 1 1 1 1

if(cmd.led4 = player >= 4) player -= 4;
if(cmd.led3 = player >= 3) player -= 3;
if(cmd.led2 = player >= 2) player -= 2;
if(cmd.led1 = player >= 1) player -= 1;
if( (cmd.led4 = player >= 4) != 0 ) player -= 4;
if( (cmd.led3 = player >= 3) != 0 ) player -= 3;
if( (cmd.led2 = player >= 2) != 0 ) player -= 2;
if( (cmd.led1 = player >= 1) != 0 ) player -= 1;

ps3Cmd(cmd);
}
Expand Down

0 comments on commit 232984e

Please sign in to comment.