MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / executeCmd2

Function executeCmd2

source/devices/memory/SdCard.cpp:876–880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874 */
875
876std::pair<int, Cid> executeCmd2(SynchronousSdMmcCardLowLevel& sdCard)
877{
878 const auto ret = executeCmdWithR2Response(sdCard, 2, {}, {});
879 return {ret.first, ret.second.getCid()};
880}
881
882/**
883 * \brief Executes CMD3 command on SD card.

Callers 1

initializeMethod · 0.85

Calls 2

executeCmdWithR2ResponseFunction · 0.85
getCidMethod · 0.80

Tested by

no test coverage detected