This repository has been archived on 2025-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Joel Challis 3f419dc872
Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports

* Another call to led_init_ports
2021-08-03 18:34:32 +01:00

15 lines
257 B
C

#include "rev3.h"
#include "led.h"
void led_init_ports(void) {
// * Set our LED pins as output
DDRE |= (1 << 6);
//Set output high, so the capslock led is off
PORTE |= (1 << 6);
}
void led_set_kb(uint8_t usb_led) {
led_set_user(usb_led);
}