Finished USB for Teensy 3.1 (Now 3.1 compatible!)
This commit is contained in:
parent
3fa9c16c04
commit
8263589e7e
7 changed files with 73 additions and 31 deletions
|
@ -30,7 +30,7 @@
|
|||
// USB Includes
|
||||
#if defined(_at90usb162_) || defined(_atmega32u4_) || defined(_at90usb646_) || defined(_at90usb1286_)
|
||||
#include "avr/usb_keyboard_debug.h"
|
||||
#elif defined(_mk20dx128_)
|
||||
#elif defined(_mk20dx128_) || defined(_mk20dx256_)
|
||||
#include "arm/usb_keyboard.h"
|
||||
#include "arm/usb_dev.h"
|
||||
#endif
|
||||
|
@ -110,7 +110,7 @@ inline void usb_send(void)
|
|||
inline void output_firmwareReload()
|
||||
{
|
||||
#if defined(_at90usb162_) || defined(_atmega32u4_) || defined(_at90usb646_) || defined(_at90usb1286_)
|
||||
#elif defined(_mk20dx128_)
|
||||
#elif defined(_mk20dx128_) || defined(_mk20dx256_)
|
||||
usb_device_reload();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue