Browse Source

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>
T.A 2 years ago
parent
commit
133be8759a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/oled/oled_driver.c

+ 3 - 0
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"
 #    include "spi_master.h"
 #elif defined(OLED_TRANSPORT_I2C)
 #elif defined(OLED_TRANSPORT_I2C)
 #    include "i2c_master.h"
 #    include "i2c_master.h"
+#    if defined(USE_I2C) && defined(SPLIT_KEYBOARD)
+#        include "keyboard.h"
+#    endif
 #endif
 #endif
 #include "oled_driver.h"
 #include "oled_driver.h"
 #include OLED_FONT_H
 #include OLED_FONT_H