diff --git a/common_src/system.c b/common_src/system.c index f7aec4c..8b65fdc 100644 --- a/common_src/system.c +++ b/common_src/system.c @@ -31,7 +31,7 @@ // CONFIG1L #pragma config PLLDIV = 3 // PLL Prescaler Selection bits (Divide by 3 (12 MHz oscillator input)) -#pragma config CPUDIV = OSC4_PLL6// System Clock Postscaler Selection bits ([Primary Oscillator Src: /4][96 MHz PLL Src: /6]) +#pragma config CPUDIV = OSC2_PLL3// System Clock Postscaler Selection bits ([Primary Oscillator Src: /4][96 MHz PLL Src: /6]) #pragma config USBDIV = 2 // USB Clock Selection bit (used in Full-Speed USB mode only; UCFG:FSEN = 1) (USB clock source comes from the 96 MHz PLL divided by 2) // CONFIG1H diff --git a/firmware/src/usb_descriptors.c b/firmware/src/usb_descriptors.c index 8804101..9565321 100644 --- a/firmware/src/usb_descriptors.c +++ b/firmware/src/usb_descriptors.c @@ -156,8 +156,8 @@ const USB_DEVICE_DESCRIPTOR device_dsc= 0x00, // Subclass code 0x00, // Protocol code USB_EP0_BUFF_SIZE, // Max packet size for EP0, see usb_config.h - 0x1209, // Vendor ID, see usb_config.h - 0x0600, // Product ID, see usb_config.h + 0x04D8, // Vendor ID, see usb_config.h + 0xECEE, // Product ID, see usb_config.h 0x0001, // Device release number in BCD format 0x01, // Manufacturer string index 0x02, // Product string index @@ -174,7 +174,7 @@ const uint8_t configDescriptor1[]={ 1, // Number of interfaces in this cfg 1, // Index value of this configuration 0, // Configuration string index - _DEFAULT | _SELF, // Attributes, see usb_device.h + _DEFAULT, // Attributes, see usb_device.h 50, // Max power consumption (2X mA) /* Interface Descriptor */