diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-13 22:38:44 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-14 12:43:25 +0100 |
commit | a9a732af1fcd45c27aff731901e347d0ed82a888 (patch) | |
tree | 210647f1165099cf2708c13be831b34253fd8804 /esp8266/modpyb.h | |
parent | 44ab5c3ef16d9e6babb2a344a26ff6f857eb4124 (diff) |
esp8266: Remove pin_id field from C pin object.
This field is the same as phys_port and not needed.
Diffstat (limited to 'esp8266/modpyb.h')
-rw-r--r-- | esp8266/modpyb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h index eb67d5cd5..69a6edb70 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); |