This commit is contained in:
twobit 2013-09-05 11:05:15 +02:00
parent 789aea8b31
commit 184e309bfe

View File

@ -118,7 +118,7 @@ static void mix_mario(void) {
n = pgm_read_byte(&patterns[p][0][note]); n = pgm_read_byte(&patterns[p][0][note]);
if (n == 0) osc[0] = 0; if (n == 0) osc[0] = 0;
osc[0] += pgm_read_word(&freq[n]); osc[0] += pgm_read_word(&freq[n]);
if (n != prev_n) led_set(RIGHT, (n > 0)); if (n != prev_n) led_set(RIGHT, (n > 0)); // blink
prev_n = n; prev_n = n;