abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.04k stars 325 forks source link

XMEGA TWI_XMEGA.c - error: 'twi' undeclared (first use in this function) #37

Closed jacobschloss closed 10 years ago

jacobschloss commented 10 years ago

In lufa-LUFA-140302/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c it looks like the capitalization of twi (in the function body) vs TWI (arguments) is mismatched.

Causes compilation errors like "XMEGA TWI_XMEGA.c - error: 'twi' undeclared (first use in this function)".

The code compiles once the capitalization is normalized.

abcminiuser commented 10 years ago

Thanks! Fixed in 3692325f58b5215a748ed721642221fc760e08cc.