File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -170,12 +170,6 @@ STATIC mp_obj_t esp32_raw_temperature(void) {
170
170
}
171
171
STATIC MP_DEFINE_CONST_FUN_OBJ_0 (esp32_raw_temperature_obj , esp32_raw_temperature );
172
172
173
- STATIC mp_obj_t esp32_hall_sensor (void ) {
174
- adc1_config_width (ADC_WIDTH_12Bit );
175
- return MP_OBJ_NEW_SMALL_INT (hall_sensor_read ());
176
- }
177
- STATIC MP_DEFINE_CONST_FUN_OBJ_0 (esp32_hall_sensor_obj , esp32_hall_sensor );
178
-
179
173
#endif
180
174
181
175
STATIC mp_obj_t esp32_idf_heap_info (const mp_obj_t cap_in ) {
@@ -210,7 +204,6 @@ STATIC const mp_rom_map_elem_t esp32_module_globals_table[] = {
210
204
{ MP_ROM_QSTR (MP_QSTR_gpio_deep_sleep_hold ), MP_ROM_PTR (& esp32_gpio_deep_sleep_hold_obj ) },
211
205
#if CONFIG_IDF_TARGET_ESP32
212
206
{ MP_ROM_QSTR (MP_QSTR_raw_temperature ), MP_ROM_PTR (& esp32_raw_temperature_obj ) },
213
- { MP_ROM_QSTR (MP_QSTR_hall_sensor ), MP_ROM_PTR (& esp32_hall_sensor_obj ) },
214
207
#endif
215
208
{ MP_ROM_QSTR (MP_QSTR_idf_heap_info ), MP_ROM_PTR (& esp32_idf_heap_info_obj ) },
216
209
You can’t perform that action at this time.
0 commit comments