From 63ec4aba2221ce5f9d57cfa305e2ad3f253de732 Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Thu, 8 Sep 2011 15:52:05 -0400 Subject: added compile-time definition of sketch PID. PID is pulled from variants/leonardo or the new variants/micro as appropriate. --- variants/leonardo/pins_arduino.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'variants/leonardo/pins_arduino.h') diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h index 79826f0..6fc3ea9 100644 --- a/variants/leonardo/pins_arduino.h +++ b/variants/leonardo/pins_arduino.h @@ -27,6 +27,8 @@ #include +#define ARDUINO_MODEL_USB_PID 0x0034 + // Map SPI port to 'new' pins D14..D17 // D14 PB0 RXLED,SS/PCINT0 // D15 PB1 SCK,PCINT1 -- cgit v1.2.3-18-g5258