appease ci

This commit is contained in:
Tod Kurt 2022-02-10 17:14:07 -08:00
parent 17440ec10c
commit 98ff9957fc
1 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,6 @@ int32_t colorwheel(mp_float_t pos) {
shift2 = 0;
}
int p = (int)(pos * 3);
p = (p<256) ? p : 255;
p = (p < 256) ? p : 255;
return (p << shift1) | ((255 - p) << shift2);
}