do a little cleanup
This commit is contained in:
parent
2e37c10c53
commit
b879190e30
@ -19,16 +19,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
/* USB Device descriptor parameter */
|
/* USB Device descriptor parameter */
|
||||||
#define VENDOR_ID 0xFEED
|
#define VENDOR_ID 0xC1ED
|
||||||
#define PRODUCT_ID 0x6464
|
#define PRODUCT_ID 0x2370
|
||||||
#define DEVICE_VER 0x0001
|
#define DEVICE_VER 0x0001
|
||||||
/* in python2: list(u"whatever".encode('utf-16-le')) */
|
/* in python2: list(u"whatever".encode('utf-16-le')) */
|
||||||
/* at most 32 characters or the ugly hack in usb_main.c borks */
|
/* at most 32 characters or the ugly hack in usb_main.c borks */
|
||||||
#define MANUFACTURER "QMK"
|
#define MANUFACTURER "Clueboard"
|
||||||
#define USBSTR_MANUFACTURER 'T', '\x00', 'M', '\x00', 'K', '\x00', ' ', '\x00', '\xc6', '\x00'
|
#define USBSTR_MANUFACTURER 'C', '\x00', 'l', '\x00', 'u', '\x00', 'e', '\x00', 'b', '\x00', 'o', '\x00', 'a', '\x00', 'r', '\x00', 'd', '\x00'
|
||||||
#define PRODUCT "ChibiOS QMK test"
|
#define PRODUCT "Teensy LC Synth"
|
||||||
#define USBSTR_PRODUCT 'C', '\x00', 'h', '\x00', 'i', '\x00', 'b', '\x00', 'i', '\x00', 'O', '\x00', 'S', '\x00', ' ', '\x00', 'Q', '\x00', 'M', '\x00', 'K', '\x00', ' ', '\x00', 't', '\x00', 'e', '\x00', 's', '\x00', 't', '\x00'
|
#define USBSTR_PRODUCT 'T', '\x00', 'e', '\x00', 'e', '\x00', 'n', '\x00', 's', '\x00', 'y', '\x00', ' ', '\x00', 'L', '\x00', 'C', '\x00', ' ', '\x00', 'S', '\x00', 'y', '\x00', 'n', '\x00', 't', '\x00', 'h', '\x00'
|
||||||
#define DESCRIPTION "QMK keyboard firmware test for ChibiOS"
|
#define DESCRIPTION "Mini synth board by Clueboard."
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
#define MATRIX_ROWS 3
|
#define MATRIX_ROWS 3
|
||||||
|
@ -21,12 +21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
|
|
||||||
void led_set(uint8_t usb_led) {
|
void led_set(uint8_t usb_led) {
|
||||||
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
|
|
||||||
// output high
|
|
||||||
palSetPadMode(TEENSY_PIN13_IOPORT, TEENSY_PIN13, PAL_MODE_OUTPUT_PUSHPULL);
|
|
||||||
palSetPad(TEENSY_PIN13_IOPORT, TEENSY_PIN13);
|
|
||||||
} else {
|
|
||||||
// Hi-Z
|
|
||||||
palSetPadMode(TEENSY_PIN13_IOPORT, TEENSY_PIN13, PAL_MODE_INPUT);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user