diff options
author | Perry Hung <iperry@gmail.com> | 2011-02-27 03:07:31 -0500 |
---|---|---|
committer | Perry Hung <iperry@gmail.com> | 2011-02-27 04:58:43 -0500 |
commit | def4173e683c3538388aabceeb08e5336c2bdadf (patch) | |
tree | 54e2571fb12b31d6730eb1a1b33d09fc53e003a8 /libmaple/util.c | |
parent | c8ca7a2eb7528462677c80497854b940931eab16 (diff) | |
download | librambutan-def4173e683c3538388aabceeb08e5336c2bdadf.tar.gz librambutan-def4173e683c3538388aabceeb08e5336c2bdadf.zip |
libmaple: Refactor ADC routines
ADC routines rewritten, support for ADC2, 3, added.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/util.c')
-rw-r--r-- | libmaple/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/util.c b/libmaple/util.c index 135f005..11f9b34 100644 --- a/libmaple/util.c +++ b/libmaple/util.c @@ -48,7 +48,7 @@ void _fail(const char* file, int line, const char* exp) { timer_disable_all(); /* Turn off ADC */ - adc_disable(); + adc_disable_all(); /* Turn off all usarts */ usart_disable_all(); |