X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fx68k_usb%2Fconfig_pjrc.h;h=77989fe3b8e91734172208f6bdfed9eea36d5df3;hb=e3994a620b430df62ca675d433be8a11a79ba7f3;hp=c49b4a73e1de9446ec38b59f4304ca3c0ff8714e;hpb=79afcd55709f67c028570f294ecd1c5efdedadc8;p=max%2Ftmk_keyboard.git
diff --git a/converter/x68k_usb/config_pjrc.h b/converter/x68k_usb/config_pjrc.h
index c49b4a73..77989fe3 100644
--- a/converter/x68k_usb/config_pjrc.h
+++ b/converter/x68k_usb/config_pjrc.h
@@ -21,6 +21,7 @@ along with this program. If not, see .
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6800
+#define DEVICE_VER 0x0001
#define MANUFACTURER t.m.k.
#define PRODUCT SHARP X68000 keyboard converter
#define DESCRIPTION converts SHARP X68000 keyboard protocol into USB
@@ -45,7 +46,7 @@ along with this program. If not, see .
/* USART configuration
* asynchronous, 2400baud, 8-data bit, non parity, 1-stop bit, no flow control
*/
-#ifdef __AVR_ATmega32U4__
+#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega32U2__)
#define SERIAL_UART_BAUD 2400
#define SERIAL_UART_DATA UDR1
#define SERIAL_UART_UBRR ((F_CPU/(16UL*SERIAL_UART_BAUD))-1)