From 51cfb1b45780c8ee42d993814aeef1f45477d58d Mon Sep 17 00:00:00 2001 From: Alin Marin Elena Date: Sat, 11 Jun 2022 19:18:45 +0100 Subject: [Keyboard] mlego fix product id and sync oled code (#16237) * sync oled code over the keymaps * put different product ids * put different product ids for the rest * put different product ids for the rest * try to reduce code duplication * make ifdefs nice and correct * move the leds code out of keymap * try to reduce code duplication * move the rgb code outside the keymaps for reuse * Update keyboards/mlego/m65/m65.c Co-authored-by: Drashna Jaelre * Update keyboards/mlego/m65/m65.c Co-authored-by: Drashna Jaelre * move more code outside keymaps for reuse * add few more xps * add mic mute * update to new name of macros for reset * style for matrix * clean split * use tinyuf2 as bootloader * Update keyboards/mlego/m65/rev4/rules.mk Co-authored-by: Ryan * radionalise product id and device version * add tinyuf2 as default bootloader for stm32f4 * update tinyuf2 * update tinyuf2 and via. f411 remove tinyuf2 since is not really working. make the config more conditional * sync the keymap with default * revert via non building with gcc 11 Co-authored-by: Drashna Jaelre Co-authored-by: Ryan --- keyboards/mlego/m48/m48.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'keyboards/mlego/m48/m48.c') diff --git a/keyboards/mlego/m48/m48.c b/keyboards/mlego/m48/m48.c index 79ba408cd9..887521075b 100644 --- a/keyboards/mlego/m48/m48.c +++ b/keyboards/mlego/m48/m48.c @@ -15,16 +15,3 @@ */ #include "m48.h" -/* -void keyboard_pre_init_kb(void){ - - // Workaround for reversible pcb/mcu - palSetLineMode(C13, PAL_MODE_INPUT_PULLUP); - palSetLineMode(C15, PAL_MODE_INPUT_PULLUP); - palSetLineMode(B7, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(A0, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(A1, PAL_MODE_OUTPUT_OPENDRAIN); - - keyboard_pre_init_user(); - } -*/ -- cgit v1.2.3