summaryrefslogtreecommitdiff
path: root/ports/esp32/modmachine.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-10-25 19:13:11 +1100
committerDamien George <damien@micropython.org>2023-11-07 16:44:35 +1100
commit03eae48847c61985afece342df971f149c8ffa42 (patch)
tree41f4ea5a4c634d7891d9f730ef641760c5cf7d46 /ports/esp32/modmachine.h
parent4212799fd8bded69e5cf47faf2ebd675906ac151 (diff)
extmod/machine_adc_block: Factor esp32 ADCBlock bindings to common code.
This is a code factoring to have the Python bindings in one location, and all the ports use those same bindings. At this stage only esp32 implements this class, so the code for the bindings comes from that port. The documentation is also updated to reflect the esp32's behaviour of ADCBlock.connect(). Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp32/modmachine.h')
-rw-r--r--ports/esp32/modmachine.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/esp32/modmachine.h b/ports/esp32/modmachine.h
index 7b26df609..06a1d7b0e 100644
--- a/ports/esp32/modmachine.h
+++ b/ports/esp32/modmachine.h
@@ -10,7 +10,6 @@ typedef enum {
} wake_type_t;
extern const mp_obj_type_t machine_touchpad_type;
-extern const mp_obj_type_t machine_adcblock_type;
extern const mp_obj_type_t machine_dac_type;
extern const mp_obj_type_t machine_sdcard_type;