From ffc82ebdb2ee00c14dd225eb057d209d4584a623 Mon Sep 17 00:00:00 2001 From: XScorpion2 Date: Mon, 15 Apr 2019 00:29:50 -0400 Subject: [Keyboard] Zen keyboard update for Rev2 (#5522) * Updated Zen keyboard for rev2 support * Fixing r1 compile errors * PR feedback and changes for Proton-C compile errors --- keyboards/zen/zen.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/zen/zen.h') diff --git a/keyboards/zen/zen.h b/keyboards/zen/zen.h index 56fc64fe26..cee7652d62 100644 --- a/keyboards/zen/zen.h +++ b/keyboards/zen/zen.h @@ -1,7 +1,8 @@ -#ifndef ZEN_H -#define ZEN_H - -#include "rev1.h" -#include "quantum.h" +#pragma once +#if KEYBOARD_zen_rev1 + #include "rev1.h" +#elif KEYBOARD_zen_rev2 + #include "rev2.h" #endif +#include "quantum.h" -- cgit v1.2.3