diff options
| author | Damien George | 2018-02-05 13:45:08 +1100 |
|---|---|---|
| committer | Damien George | 2018-02-05 14:32:56 +1100 |
| commit | f8922627d373dea850a923c54b1c23969129d705 (patch) | |
| tree | 95b038c0d3df8209aced5b9535b85014d52dc69f /ports/stm32/modnwcc3k.c | |
| parent | 4ad3ede21ab2210e4ed9c61f75ed1f06080b8baf (diff) | |
stm32: Update LCD and network drivers to work with new SPI API.
Diffstat (limited to 'ports/stm32/modnwcc3k.c')
| -rw-r--r-- | ports/stm32/modnwcc3k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/modnwcc3k.c b/ports/stm32/modnwcc3k.c index 4f1af7354..52787187b 100644 --- a/ports/stm32/modnwcc3k.c +++ b/ports/stm32/modnwcc3k.c @@ -433,7 +433,7 @@ STATIC mp_obj_t cc3k_make_new(const mp_obj_type_t *type, size_t n_args, size_t n // set the pins to use SpiInit( - spi_get_handle(args[0]), + spi_from_mp_obj(args[0])->spi, pin_find(args[1]), pin_find(args[2]), pin_find(args[3]) |
