Migrate crkbd keymaps to oled driver (#17863)

This commit is contained in:
Joel Challis
2022-07-31 20:36:30 +01:00
committed by GitHub
parent c10c2575b8
commit f7aaed1b57
40 changed files with 97 additions and 524 deletions

View File

@@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define MASTER_RIGHT
// #define EE_HANDS
#define SSD1306OLED
#define USE_SSD_I2C
#define USE_SERIAL_PD2
#define TAPPING_FORCE_HOLD

View File

@@ -182,13 +182,13 @@ bool oled_task_user(void) {
master_oled_cleared = true;
}
render_logo();
return;
return false;
}
// Drashna style timeout for LED and OLED Roughly 8mins
else if (timer_elapsed32(oled_timer) > 480000) {
oled_off();
rgb_matrix_disable_noeeprom();
return;
return false;
}
else {
oled_on();

View File

@@ -11,6 +11,3 @@ OLED_DRIVER = SSD1306
# If you want to change the display of OLED, you need to change here
SRC += logo_reader.c \
layer.c
VPATH += keyboards/crkbd/lib
LIB_SRC += ssd1306.c i2c.c