summaryrefslogtreecommitdiffstats
path: root/quantum/rgb_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgb_matrix.h')
-rw-r--r--quantum/rgb_matrix.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/quantum/rgb_matrix.h b/quantum/rgb_matrix.h
index 5769314002..b91c9fba59 100644
--- a/quantum/rgb_matrix.h
+++ b/quantum/rgb_matrix.h
@@ -1,5 +1,6 @@
/* Copyright 2017 Jason Williams
* Copyright 2017 Jack Humbert
+ * Copyright 2018 Yiancar
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,9 +22,14 @@
#include <stdint.h>
#include <stdbool.h>
#include "color.h"
-#include "is31fl3731.h"
#include "quantum.h"
+#ifdef IS31FL3731
+ #include "is31fl3731.h"
+#elif defined (IS31FL3733)
+ #include "is31fl3733.h"
+#endif
+
typedef struct Point {
uint8_t x;
uint8_t y;