summaryrefslogtreecommitdiffstats
path: root/keyboards/eco/eco.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/eco/eco.h')
-rw-r--r--keyboards/eco/eco.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/eco/eco.h b/keyboards/eco/eco.h
index 211e41fe8f..885bf982d7 100644
--- a/keyboards/eco/eco.h
+++ b/keyboards/eco/eco.h
@@ -1,13 +1,9 @@
-#ifndef ECO_H
-#define ECO_H
+#pragma once
-#ifdef KEYBOARD_eco_rev1
- #include "rev1.h"
-#endif
-#ifdef KEYBOARD_eco_rev2
- #include "rev2.h"
+#if defined(KEYBOARD_eco_rev1)
+# include "rev1.h"
+#elif defined(KEYBOARD_eco_rev2)
+# include "rev2.h"
#endif
#include "quantum.h"
-
-#endif