Skip to content

Commit 27f9a78

Browse files
committed
Update ESP420.cpp
Add how many bits used for SDIO
1 parent a9b80de commit 27f9a78

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

esp3d/src/core/commands/ESP420.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,13 @@ void ESP3DCommands::ESP420(int cmd_params_pos, ESP3DMessage* msg) {
738738
: "none ";
739739
tmpstr += "(";
740740
tmpstr += ESP_SD::FilesystemName();
741+
if (SD_DEVICE == ESP_SDIO){
742+
if(SDIO_BIT_MODE == SD_ONE_BIT_MODE) {
743+
tmpstr += " 1-bit";
744+
} else {
745+
tmpstr += " 4-bit";
746+
}
747+
}
741748
tmpstr += ")";
742749
if (!dispatchIdValue(json, "sd", tmpstr.c_str(), target, requestId, false)) {
743750
return;

0 commit comments

Comments
 (0)