summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorT.A <83424097+t0kies@users.noreply.github.com>2023-09-25 04:24:57 +0200
committerGitHub <noreply@github.com>2023-09-25 12:24:57 +1000
commit133be8759a2a01bd0e917543e6b1f3d84830d9a9 (patch)
tree4423a779bd4fce2b897da36ee4676e000105dd0d
parent9b429bd12d6375e6141629af9c330072b6c3c024 (diff)
included keyboard.h. To use is_keyboard_master with a split with an i… (#21571)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: tokky <tokky@localhost-live.attlocal.net>
-rw-r--r--drivers/oled/oled_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/oled/oled_driver.c b/drivers/oled/oled_driver.c
index 8ff6e0426c..b9f7207813 100644
--- a/drivers/oled/oled_driver.c
+++ b/drivers/oled/oled_driver.c
@@ -19,6 +19,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# include "spi_master.h"
#elif defined(OLED_TRANSPORT_I2C)
# include "i2c_master.h"
+# if defined(USE_I2C) && defined(SPLIT_KEYBOARD)
+# include "keyboard.h"
+# endif
#endif
#include "oled_driver.h"
#include OLED_FONT_H