stm: sdioio: call common_hal_mcu_pin_claim
This commit is contained in:
parent
d73505a027
commit
b57e6e9856
@ -183,10 +183,10 @@ void common_hal_sdioio_sdcard_construct(sdioio_sdcard_obj_t *self,
|
||||
|
||||
reserved_sdio[periph_index - 1] = true;
|
||||
|
||||
claim_pin(clock);
|
||||
claim_pin(command);
|
||||
common_hal_mcu_pin_claim(clock);
|
||||
common_hal_mcu_pin_claim(command);
|
||||
for (int i=0; i<num_data; i++) {
|
||||
claim_pin(data[i]);
|
||||
common_hal_mcu_pin_claim(data[i]);
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user