X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Finfinity60%2Fled.c;h=53147a78a53a65319c099463411d89f84f0b06d9;hb=164a6c994b797b66634f7a1c12fcaffd0ffd7506;hp=c78e2d119573fa2362622caa327125464f648346;hpb=15635817b5ae6068c5c79a9b67a0d97839893a7e;p=qmk_firmware.git diff --git a/keyboards/infinity60/led.c b/keyboards/infinity60/led.c index c78e2d119..53147a78a 100644 --- a/keyboards/infinity60/led.c +++ b/keyboards/infinity60/led.c @@ -16,7 +16,6 @@ along with this program. If not, see . */ #include "hal.h" -#include "print.h" #include "led.h" @@ -28,41 +27,26 @@ along with this program. If not, see . */ void led_set(uint8_t usb_led) { msg_t msg; -/* - // PTA5: LED (1:on/0:off) - GPIOA->PDDR |= (1<<1); - PORTA->PCR[5] |= PORTx_PCRn_DSE | PORTx_PCRn_MUX(1); - if (usb_led & (1<PSOR |= (1<<5); - } else { - GPIOA->PCOR |= (1<<5); - } - */ + if (usb_led & (1<