summaryrefslogtreecommitdiffstatshomepage
path: root/stm/adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/adc.c')
-rw-r--r--stm/adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stm/adc.c b/stm/adc.c
index 51d3e9f91b..89f137a08c 100644
--- a/stm/adc.c
+++ b/stm/adc.c
@@ -333,7 +333,7 @@ static const mp_method_t adc_all_methods[] = {
static const mp_obj_type_t adc_all_type = {
{ &mp_const_type },
- "ADC_all",
+ .name = MP_QSTR_ADC,
.print = adc_all_print,
.methods = adc_all_methods,
};
@@ -387,7 +387,7 @@ static const mp_method_t adc_methods[] = {
static const mp_obj_type_t adc_type = {
{ &mp_const_type },
- "ADC",
+ .name = MP_QSTR_ADC,
.print = adc_print,
.methods = adc_methods,
};