nrf5: Updating main.c to enable SPI if MICROPY_PY_MACHINE_HW_SPI is set. This diverge from regular MICROPY_PY_MACHINE_SPI config. Fixing missing init of SPI after renaming port SPI enable define.

This commit is contained in:
Glenn Ruben Bakke 2017-01-26 21:29:24 +01:00
parent 8653ac9ef8
commit f94836ef74
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ int main(int argc, char **argv) {
pin_init0();
#if MICROPY_PY_MACHINE_SPI
#if MICROPY_PY_MACHINE_HW_SPI
spi_init0();
#endif