summaryrefslogtreecommitdiff
path: root/keyboards/ergo42/rev1/rev1.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-02-07 13:59:18 +0000
committerGitHub <noreply@github.com>2020-02-07 13:59:18 +0000
commit774cbbf879eaec2149413917cb970054e4c1bf59 (patch)
tree9d99536f7c8a0d1f53b15a940bbafad30a475db6 /keyboards/ergo42/rev1/rev1.h
parentc93093569ecd6024c43e9b0d2e8881e0f768c940 (diff)
parent75d4ff7d51160690558cf4bee1bae057f847b706 (diff)
Refactor ergo42 to use split_common (#7925)
* Initial refactor of ergo42 to split common * Prevent fallthrough for DIODE_DIRECTION
Diffstat (limited to 'keyboards/ergo42/rev1/rev1.h')
-rw-r--r--keyboards/ergo42/rev1/rev1.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/keyboards/ergo42/rev1/rev1.h b/keyboards/ergo42/rev1/rev1.h
index 724ec38970..9a5aec4d26 100644
--- a/keyboards/ergo42/rev1/rev1.h
+++ b/keyboards/ergo42/rev1/rev1.h
@@ -1,18 +1,9 @@
-#ifndef REV1_H
-#define REV1_H
+#pragma once
#include "ergo42.h"
#include "quantum.h"
-#ifdef USE_I2C
-#include <stddef.h>
-#ifdef __AVR__
- #include <avr/io.h>
- #include <avr/interrupt.h>
-#endif
-#endif
-
#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
@@ -54,5 +45,3 @@
#endif
#define LAYOUT LAYOUT_ortho_4x14
-
-#endif