1
0

Revert "Delete unused boards"

This reverts commit 1b5c75c83d.
This commit is contained in:
Richard Baptist
2019-06-16 13:04:19 +02:00
parent a6b1f55659
commit 21fbcf145c
8065 changed files with 589315 additions and 0 deletions

18
keyboards/toad/toad.c Normal file
View File

@@ -0,0 +1,18 @@
#include "toad.h"
void led_set_user(uint8_t usb_led) {
//LED1
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
DDRB |= (1 << 6); PORTB &= ~(1 << 6);
} else {
DDRB &= ~(1 << 6); PORTB &= ~(1 << 6);
}
//LED2
if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
DDRB |= (1 << 5); PORTB &= ~(1 << 5);
} else {
DDRB &= ~(1 << 5); PORTB &= ~(1 << 5);
}
}