E85 backlight & LED indicator updates (#10678)

* Enable in-switch backlight on e85 for VIA keymaps.

Update LED indicator code for e85 hotswap/soldered PCBs.
This commit is contained in:
kaylanm
2020-11-05 23:58:00 -05:00
committed by GitHub
parent f2eb080aa2
commit 5f2c434954
5 changed files with 27 additions and 8 deletions

View File

@@ -17,14 +17,16 @@
#include "soldered.h"
void keyboard_pre_init_kb(void) {
setPinOutput(C7);
keyboard_pre_init_user();
setPinOutput(C7);
setPinOutput(B5);
keyboard_pre_init_user();
}
bool led_update_kb(led_t led_state) {
if (led_update_user(led_state)) {
writePin(C7, led_state.caps_lock);
writePin(B5, led_state.scroll_lock);
}
return true;
}