Skip to content

Commit b62bead

Browse files
dpgeorgepfalcon
authored andcommitted
esp8266: Link ADC class into machine module.
1 parent f71c069 commit b62bead

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp8266/modmachine.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
143143
{ MP_ROM_QSTR(MP_QSTR_Timer), MP_ROM_PTR(&esp_timer_type) },
144144
{ MP_ROM_QSTR(MP_QSTR_Pin), MP_ROM_PTR(&pyb_pin_type) },
145145
{ MP_ROM_QSTR(MP_QSTR_PWM), MP_ROM_PTR(&pyb_pwm_type) },
146+
{ MP_ROM_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&pyb_adc_type) },
146147
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&pyb_i2c_type) },
147148
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&pyb_spi_type) },
148149
};

0 commit comments

Comments
 (0)