summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/adc.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/adc.h')
-rw-r--r--stmhal/adc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stmhal/adc.h b/stmhal/adc.h
index 502da20dde..c9f16932eb 100644
--- a/stmhal/adc.h
+++ b/stmhal/adc.h
@@ -1,2 +1,3 @@
+extern const mp_obj_type_t pyb_adc_type;
+
MP_DECLARE_CONST_FUN_OBJ(pyb_ADC_all_obj);
-MP_DECLARE_CONST_FUN_OBJ(pyb_ADC_obj);