aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Peripheral/AVRU4U6U7
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-30 09:00:29 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-30 09:00:29 +0000
commit208edeee0f97a56697f0b15b519a9e723436f007 (patch)
treeda6a676c8ac77ee95f67ebfdc5071754971c3b44 /LUFA/Drivers/Peripheral/AVRU4U6U7
parentf5951d15936f397afbeb31bf467a90e6e9b5e161 (diff)
downloadlufa-208edeee0f97a56697f0b15b519a9e723436f007.tar.gz
lufa-208edeee0f97a56697f0b15b519a9e723436f007.tar.bz2
lufa-208edeee0f97a56697f0b15b519a9e723436f007.zip
Add new TemperatureDataLogger project, a simple USB Mass Storage class Temperature Data Logger using the onboard Dataflash and Temperature sensor.
Diffstat (limited to 'LUFA/Drivers/Peripheral/AVRU4U6U7')
-rw-r--r--LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h b/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
index 90fb4a35f..17d6c5e9f 100644
--- a/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
+++ b/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
@@ -149,7 +149,7 @@
#define ADC_GetStatus() ((ADCSRA & (1 << ADEN)) ? true : false)
- #define ADC_IsReadingComplete() (!(ADCSRA & (1 << ADSC)))
+ #define ADC_IsReadingComplete() (ADCSRA & (1 << ADSC))
#define ADC_GetResult() ADC
#endif