summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modmachine.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-12-08 14:41:58 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-08 14:41:58 +1100
commitad166857bc93e519bca8c4f14523dcce654a5994 (patch)
treef2a405295b9e2e29fff41fcdf120715e18d74e61 /esp8266/modmachine.c
parent1b6d94bccdd95904a85e8aa689b0844ab55a61bf (diff)
downloadmicropython-ad166857bc93e519bca8c4f14523dcce654a5994.tar.gz
micropython-ad166857bc93e519bca8c4f14523dcce654a5994.zip
esp8266: Refactor to use extmod implementation of software SPI class.
Diffstat (limited to 'esp8266/modmachine.c')
-rw-r--r--esp8266/modmachine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/modmachine.c b/esp8266/modmachine.c
index 29a72f7e4a..a92362ce61 100644
--- a/esp8266/modmachine.c
+++ b/esp8266/modmachine.c
@@ -255,7 +255,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&pyb_adc_type) },
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&pyb_uart_type) },
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&machine_i2c_type) },
- { MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&pyb_hspi_type) },
+ { MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&machine_hspi_type) },
// wake abilities
{ MP_ROM_QSTR(MP_QSTR_DEEPSLEEP), MP_ROM_INT(MACHINE_WAKE_DEEPSLEEP) },