summaryrefslogtreecommitdiff
path: root/keyboards/pinky/pinky.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pinky/pinky.h')
-rw-r--r--keyboards/pinky/pinky.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/pinky/pinky.h b/keyboards/pinky/pinky.h
index 9cc5d8d589..67dfbe3370 100644
--- a/keyboards/pinky/pinky.h
+++ b/keyboards/pinky/pinky.h
@@ -13,17 +13,13 @@
* 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 PINKY_H
-#define PINKY_H
-#include "quantum.h"
-
-#ifdef KEYBOARD_pinky_3
- #include "3.h"
-#endif
+#pragma once
-#ifdef KEYBOARD_pinky_4
- #include "4.h"
-#endif
+#include "quantum.h"
+#if defined(KEYBOARD_pinky_3)
+# include "3.h"
+#elif defined(KEYBOARD_pinky_4)
+# include "4.h"
#endif