summaryrefslogtreecommitdiff
path: root/matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'matrix.h')
-rw-r--r--matrix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/matrix.h b/matrix.h
index d5290916b5..74b5f894b1 100644
--- a/matrix.h
+++ b/matrix.h
@@ -1,3 +1,6 @@
+#ifndef MATRIX_H
+#define MATRIX_H 1
+
#include <stdbool.h>
extern uint8_t *matrix;
@@ -8,3 +11,5 @@ uint8_t matrix_scan(void);
bool matrix_is_modified(void);
bool matrix_has_ghost(void);
bool matrix_has_ghost_in_row(uint8_t row);
+
+#endif