summaryrefslogtreecommitdiff
path: root/esp8266/modpyb.h
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2016-08-19 18:55:07 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-08-19 21:19:59 +0300
commitd076fae2194fc1b1cacc1c6d09012baa12ee93a5 (patch)
tree0b2529ff0084d35842c15a3bc5dfe7f8edbfabc5 /esp8266/modpyb.h
parent8e7dfea803f618beaa2ad976dff0b196e449d5d9 (diff)
esp8266/modmachinespi: Add a factory method for SoftSPI/HSPI
Diffstat (limited to 'esp8266/modpyb.h')
-rw-r--r--esp8266/modpyb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h
index 0eec556b1..45d0bb8cf 100644
--- a/esp8266/modpyb.h
+++ b/esp8266/modpyb.h
@@ -11,6 +11,7 @@ extern const mp_obj_type_t pyb_uart_type;
extern const mp_obj_type_t pyb_i2c_type;
extern const mp_obj_type_t pyb_spi_type;
extern const mp_obj_type_t pyb_hspi_type;
+extern const mp_obj_type_t machine_spi_type;
MP_DECLARE_CONST_FUN_OBJ(pyb_info_obj);