summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/sockets
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2018-12-05 17:51:35 +0000
committerDrashna Jaelre <drashna@live.com>2018-12-05 09:51:35 -0800
commitb3d6426aa95a895585b41b9cd6c0c5bec39f0e92 (patch)
treeede02e259b34124b8dc5fd79f68b617f4095f3f3 /keyboards/lets_split/sockets
parentd0da43fbdcb78603b34bcf6c0718e104b593c5ce (diff)
Keyboard: Refactor lets split to use split common code (#4536)
* Refactor lets split to use split common code * Refactor lets split to use split common code * Build fixes for OLED_sample keymap * Build fixes for OLED_sample keymap - attempt to reduce firmware size
Diffstat (limited to 'keyboards/lets_split/sockets')
-rw-r--r--keyboards/lets_split/sockets/config.h8
-rw-r--r--keyboards/lets_split/sockets/sockets.h5
2 files changed, 2 insertions, 11 deletions
diff --git a/keyboards/lets_split/sockets/config.h b/keyboards/lets_split/sockets/config.h
index a45cdd13bb..10d0c997e6 100644
--- a/keyboards/lets_split/sockets/config.h
+++ b/keyboards/lets_split/sockets/config.h
@@ -16,10 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SOCKETS_CONFIG_H
-#define SOCKETS_CONFIG_H
-
-#include "config_common.h"
+#pragma once
/* USB Device descriptor parameter */
#define VENDOR_ID 0xBEE5
@@ -85,6 +82,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
-
-
-#endif
diff --git a/keyboards/lets_split/sockets/sockets.h b/keyboards/lets_split/sockets/sockets.h
index bd1019263c..a79770bac6 100644
--- a/keyboards/lets_split/sockets/sockets.h
+++ b/keyboards/lets_split/sockets/sockets.h
@@ -1,5 +1,4 @@
-#ifndef SOCKETS_H
-#define SOCKETS_H
+#pragma once
#define DISABLE_JTAG // The keyboard uses PF4 and PF7, which are used by JTAG.
#include "lets_split.h"
@@ -59,5 +58,3 @@
#endif
#define LAYOUT_ortho_4x12 LAYOUT
-
-#endif