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:
parent
8653ac9ef8
commit
f94836ef74
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user