|
|
@ -6,7 +6,6 @@ |
|
|
|
#include "lufa.h" |
|
|
|
#include "lufa.h" |
|
|
|
#include "split_util.h" |
|
|
|
#include "split_util.h" |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#include "LUFA/Drivers/Peripheral/TWI.h" |
|
|
|
|
|
|
|
#ifdef AUDIO_ENABLE |
|
|
|
#ifdef AUDIO_ENABLE |
|
|
|
#include "audio.h" |
|
|
|
#include "audio.h" |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -479,7 +478,6 @@ void matrix_init_user(void) { |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
//SSD1306 OLED init, make sure to add #define SSD1306OLED in config.h
|
|
|
|
//SSD1306 OLED init, make sure to add #define SSD1306OLED in config.h
|
|
|
|
#ifdef SSD1306OLED |
|
|
|
#ifdef SSD1306OLED |
|
|
|
TWI_Init(TWI_BIT_PRESCALE_1, TWI_BITLENGTH_FROM_FREQ(1, 800000)); |
|
|
|
|
|
|
|
iota_gfx_init(!has_usb()); // turns on the display
|
|
|
|
iota_gfx_init(!has_usb()); // turns on the display
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|