1
0
Fork 0

Remove old OLED API code (#21651)

This commit is contained in:
Ryan 2023-08-01 00:43:10 +10:00 committed by GitHub
parent f407d90598
commit 6018b56c55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 2 additions and 1017 deletions

View file

@ -340,10 +340,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
#ifdef SSD1306OLED
#include "ssd1306.h"
#endif
void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
startup_user();
@ -351,10 +347,6 @@ void matrix_init_user(void) {
#ifdef RGBLIGHT_ENABLE
RGB_current_mode = rgblight_get_mode();
#endif
//SSD1306 OLED init, make sure to add #define SSD1306OLED in config.h
#ifdef SSD1306OLED
iota_gfx_init(!has_usb()); // turns on the display
#endif
}