nrf5: Moving initialization of pin til after uart has been initialized for debugging purposes. This will make it possible to use uart to print out debug data when adding gpio irq handlers.
This commit is contained in:
parent
adf316afaa
commit
fb53bdf07c
@ -102,8 +102,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
readline_init0();
|
||||
|
||||
pin_init0();
|
||||
|
||||
#if MICROPY_PY_MACHINE_HW_SPI
|
||||
spi_init0();
|
||||
#endif
|
||||
@ -141,6 +139,8 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
#endif
|
||||
|
||||
pin_init0();
|
||||
|
||||
#if MICROPY_HW_HAS_SDCARD
|
||||
// if an SD card is present then mount it on /sd/
|
||||
if (sdcard_is_present()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user