summaryrefslogtreecommitdiff
path: root/stm/adc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-25 16:30:47 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-25 16:30:47 +0000
commit51f3a6becd8566243c12243b7c295de1fcabc388 (patch)
tree2ebaa09b139307ead6e42c6ff6aa77fb03459993 /stm/adc.h
parentb829b5caecd1ba4fbc30e03978776d2c868dd67b (diff)
stm: Improved ADC module; add BOARD_NAME config value.
Diffstat (limited to 'stm/adc.h')
-rw-r--r--stm/adc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/adc.h b/stm/adc.h
index 5805aef42..502da20dd 100644
--- a/stm/adc.h
+++ b/stm/adc.h
@@ -1 +1,2 @@
-mp_obj_t pyb_ADC(mp_obj_t resolution);
+MP_DECLARE_CONST_FUN_OBJ(pyb_ADC_all_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_ADC_obj);