AVALANCHE: Fix coding style: ++ and --
This commit is contained in:
parent
ff31d8e521
commit
fe8e5c7325
10 changed files with 38 additions and 34 deletions
|
@ -1143,9 +1143,13 @@ int8 Lucerna::fades(int8 x) {
|
|||
x = x % 16;
|
||||
byte g = x / 4;
|
||||
byte b = x % 4;
|
||||
if (r > 0) r --;
|
||||
if (g > 0) g --;
|
||||
if (b > 0) b --;
|
||||
if (r > 0)
|
||||
r--;
|
||||
if (g > 0)
|
||||
g--;
|
||||
if (b > 0)
|
||||
b--;
|
||||
|
||||
return (16 * r + 4 * g + b);
|
||||
/* fades:=x-1;*/
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue