remove unneccesary headers

This commit is contained in:
Jack Humbert committed 2017-07-23 14:59:29 -04:00
1 parent 92ccc9a7b8
commit f407f3e8de
4 files changed
+19 -16

No files matched your search

+4 -1
View File
@@ -555,7 +555,10 @@ ISR(TIMER1_COMPA_vect)
note_position++;
bool end_of_note = false;
if (TIMER_1_PERIOD > 0) {
end_of_note = (note_position >= (note_length / TIMER_1_PERIOD * 0xFFFF - 1));
if (!note_resting)
end_of_note = (note_position >= (note_length / TIMER_1_PERIOD * 0xFFFF - 1));
else
end_of_note = (note_position >= (note_length));
} else {
end_of_note = (note_position >= (note_length));
}