stm: stioio: correctly claim pins
This commit is contained in:
parent
3cf1258c87
commit
ccd3013396
@ -193,6 +193,12 @@ void common_hal_sdioio_sdcard_construct(sdioio_sdcard_obj_t *self,
|
||||
|
||||
reserved_sdio[periph_index - 1] = true;
|
||||
|
||||
claim_pin(clock);
|
||||
claim_pin(command);
|
||||
for (int i=0; i<num_data; i++) {
|
||||
claim_pin(data[i]);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user