Added support for 1-line bus width SDMMC device mode (#482)

This commit is contained in:
Fuji Pebri
2026-02-06 04:46:55 +07:00
committed by GitHub
parent 4fe4faf422
commit ecc0a9c076
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ bool SdmmcDevice::mountInternal(const std::string& newMountPath) {
.d7 = static_cast<gpio_num_t>(0),
.cd = GPIO_NUM_NC,
.wp = GPIO_NUM_NC,
.width = 4,
.width = config->busWidth,
.flags = 0
};
@@ -120,4 +120,4 @@ SdmmcDevice::State SdmmcDevice::getState(TickType_t timeout) const {
}
#endif
#endif