Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
b0ce1eab
Commit
b0ce1eab
authored
Jan 16, 2010
by
Dean Camera
Browse files
Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2.
parent
77dda302
Changes
2
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/USB/LowLevel/LowLevel.h
View file @
b0ce1eab
...
...
@@ -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)
...
...
LUFA/ManPages/LUFAPoweredProjects.txt
View file @
b0ce1eab
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment