AVALANCHE: Fix coding style: ++ and --

This commit is contained in:
Strangerke 2013-09-04 13:34:58 +02:00
parent ff31d8e521
commit fe8e5c7325
10 changed files with 38 additions and 34 deletions

View file

@ -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;*/
}