**********
r22631 | batt | 2008-11-10 22:33:41 +0100 (lun, 10 nov 2008) | 1 line
Not all AVRs have ADCSRB register: make it conditional.
**********
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1918
38d2e660-2303-0410-9eaa-
f027e97ec537
* \version $Id$
* \author Francesco Sacchi <batt@develer.com>
*
- * This module is automatically included so no need to include
+ * This module is automatically included so no need to include
* in test list.
* notest: avr
*/
#error Unsupported ADC ref value.
#endif
+ #if defined(ADCSRB)
/* Disable Auto trigger source: ADC in Free running mode. */
ADCSRB = 0;
+ #endif
/* Enable ADC, disable autotrigger mode. */
ADCSRA = BV(ADEN);