@ -5,6 +5,10 @@ EVERYTHING := \
.PHONY: all
all: $(EVERYTHING)
style:
astyle -r '*.ino' -n
arduino.mk:
curl -L -o $@ -s http://ed.am/dev/make/arduino-mk/arduino.mk
@ -32,7 +32,7 @@ void playNote(int note) {
void playMeasure(int measure[]) {
for (int i = 0;;i++) {
for (int i = 0;; i++) {
int note = measure[i];
if (note == 0) {
return;