Finished USB for Teensy 3.1 (Now 3.1 compatible!)

This commit is contained in:
Jacob Alexander 2014-02-02 21:12:20 -08:00
parent 3fa9c16c04
commit 8263589e7e
7 changed files with 73 additions and 31 deletions

View file

@ -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
}