fix nrf52832 build error
need more testing with 832, since it failed with SD.begin()
This commit is contained in:
1 parent
f1e9877408
commit
0fa5b8abca
1 file changed
+2
@@ -37,7 +37,9 @@ SPIClass::SPIClass(NRF_SPIM_Type *p_spi, uint8_t uc_pinMISO, uint8_t uc_pinSCK,
|
||||
} else if ( NRF_SPIM2 == p_spi ) {
|
||||
_spim.drv_inst_idx = NRFX_SPIM2_INST_IDX;
|
||||
} else {
|
||||
#ifdef NRF52840_XXAA
|
||||
_spim.drv_inst_idx = NRFX_SPIM3_INST_IDX;
|
||||
#endif
|
||||
}
|
||||
|
||||
// pins
|
||||
|
||||
Reference in new issue
Block a user