From: Dean Camera Date: Sat, 16 Jan 2010 00:40:52 +0000 (+0000) Subject: Fix incorrect preprocessor checks in the PLL prescaler mask determination code for... X-Git-Tag: LUFA-110528-BETA~681 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/b0ce1eab668ac2e4779bbf8c3e6ef193d0ab0368 Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2. --- diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.h b/LUFA/Drivers/USB/LowLevel/LowLevel.h index aa760cd35..dc01d24e5 100644 --- a/LUFA/Drivers/USB/LowLevel/LowLevel.h +++ b/LUFA/Drivers/USB/LowLevel/LowLevel.h @@ -77,7 +77,7 @@ #if (F_CLOCK == 8000000) #if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \ defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \ - defined(__AVR_ATmega32U2)) + defined(__AVR_ATmega32U2__)) #define USB_PLL_PSC 0 #elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__)) #define USB_PLL_PSC 0 @@ -89,7 +89,7 @@ #elif (F_CLOCK == 16000000) #if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \ defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \ - defined(__AVR_ATmega32U2)) + defined(__AVR_ATmega32U2__)) #define USB_PLL_PSC (1 << PLLP0) #elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__)) #define USB_PLL_PSC (1 << PINDIV) diff --git a/LUFA/ManPages/LUFAPoweredProjects.txt b/LUFA/ManPages/LUFAPoweredProjects.txt index f07750f95..bf7b6d0c4 100644 --- a/LUFA/ManPages/LUFAPoweredProjects.txt +++ b/LUFA/ManPages/LUFAPoweredProjects.txt @@ -65,6 +65,7 @@ * - Lightweight CC110x USB dongle for 868MHz Protocols: http://busware.de/tiki-index.php?page=CUL * - Mobo 4.3, a USB controlled all band (160-10m) HF SDR transceiver: http://sites.google.com/site/lofturj/mobo4_3 * - SEGA Megadrive/Super Nintendo Cartridge Reader: http://www.snega2usb.com + * - XMEGA Development Board, using LUFA as an On-Board Programmer: http://xmega.mattair.net/ * * \section Sec_LUFAPublications Publications Mentioning LUFA * - Elektor Magazine, "My First AVR-USB" by Antoine Authier (feature), January 2010 Issue