summaryrefslogtreecommitdiffstatshomepage
path: root/stm/adc.h
diff options
context:
space:
mode:
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 5805aef42c..502da20dde 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);