stm: sdioio: call common_hal_mcu_pin_claim

This commit is contained in:
Jeff Epler 2020-07-29 21:32:24 -05:00
parent d73505a027
commit b57e6e9856

View File

@ -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;