neingeist
/
arduinisten
Archived
1
0
Fork 0

reformat a bit

master
orange 15 years ago
parent 788264499b
commit 72ce707070

@ -101,7 +101,6 @@ void arpeggio_play(int32_t note, uint32_t len) {
_delay_us(50);
}
void arpeggio(int32_t n1, int32_t n2, int32_t n3, int32_t len) {
for (int32_t i = 0; i < len; i++) {
arpeggio_play(n1, len);
@ -110,7 +109,6 @@ void arpeggio(int32_t n1, int32_t n2, int32_t n3, int32_t len) {
}
}
int main(void) {
/* setup clock divider. Timer0 overflows on counting to 256.
* 16Mhz / 1 (CS0=1) = 16000000 increments/sec. Overflows every 256.
@ -131,7 +129,6 @@ int main(void) {
// enable interrupts
sei();
for(;;) {
arpeggio(261,329,130,7);
arpeggio(329,392,130,4);
@ -178,7 +175,5 @@ int main(void) {
arpeggio(261,329,110,6);
arpeggio(261,329,110,6);
arpeggio(261,329,110,6);
}
}