summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h5
-rw-r--r--eq.h5
-rw-r--r--led.h5
3 files changed, 15 insertions, 0 deletions
diff --git a/config.h b/config.h
index 00816db..72357e3 100644
--- a/config.h
+++ b/config.h
@@ -1,3 +1,6 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
#define F_CPU 8000000UL
#define LED_COUNT 50
@@ -16,3 +19,5 @@
{26, 37}
#define ISR_PIN PB4
+
+#endif
diff --git a/eq.h b/eq.h
index 2ad7beb..fd28b25 100644
--- a/eq.h
+++ b/eq.h
@@ -1,4 +1,9 @@
+#ifndef EQ_H
+#define EQ_H
+
extern unsigned char eq_levels[];
void eq_decay();
void eq_read();
+
+#endif
diff --git a/led.h b/led.h
index fd11a87..4f5cc09 100644
--- a/led.h
+++ b/led.h
@@ -1,5 +1,10 @@
+#ifndef LED_H
+#define LED_H
+
struct colour {
unsigned char r, g, b;
};
void led_signal_sequence(int, struct colour *, int, int, int);
+
+#endif