summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpyb.h
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/modpyb.h')
-rw-r--r--esp8266/modpyb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h
index eb67d5cd50..69a6edb709 100644
--- a/esp8266/modpyb.h
+++ b/esp8266/modpyb.h
@@ -13,10 +13,9 @@ extern const mp_obj_type_t pyb_spi_type;
typedef struct _pyb_pin_obj_t {
mp_obj_base_t base;
- uint16_t pin_id;
uint16_t phys_port;
- uint32_t periph;
uint16_t func;
+ uint32_t periph;
} pyb_pin_obj_t;
uint mp_obj_get_pin(mp_obj_t pin_in);