diff options
Diffstat (limited to 'extmod/modmachine.h')
| -rw-r--r-- | extmod/modmachine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/modmachine.h b/extmod/modmachine.h index 794c62cde..22bd0d625 100644 --- a/extmod/modmachine.h +++ b/extmod/modmachine.h @@ -30,12 +30,14 @@ #include "py/obj.h" // A port must provide these types, but they are otherwise opaque. +typedef struct _machine_pwm_obj_t machine_pwm_obj_t; typedef struct _machine_wdt_obj_t machine_wdt_obj_t; // These classes correspond to machine.Type entries in the machine module. // Their Python bindings are implemented in extmod, and their implementation // is provided by a port. extern const mp_obj_type_t machine_i2c_type; +extern const mp_obj_type_t machine_pwm_type; extern const mp_obj_type_t machine_spi_type; extern const mp_obj_type_t machine_timer_type; extern const mp_obj_type_t machine_wdt_type; |
