Added support for 1-line bus width SDMMC device mode (#482)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user