diff --git a/pio/apa102/apa102.c b/pio/apa102/apa102.c index e85abe167..623ec3a99 100644 --- a/pio/apa102/apa102.c +++ b/pio/apa102/apa102.c @@ -62,7 +62,7 @@ int main() { for (int i = 0; i < N_LEDS; ++i) { put_rgb888(pio, sm, wave_table[(i + t) % TABLE_SIZE], - wave_table[(2 * i + 3 * 2) % TABLE_SIZE], + wave_table[(2 * i + 3 * t) % TABLE_SIZE], wave_table[(3 * i + 4 * t) % TABLE_SIZE] ); }