testing scratch API

This commit is contained in:
2021-07-09 17:21:26 +02:00
committed by Robin Mueller
parent bef73d7357
commit e9cfa0c117
4 changed files with 39 additions and 5 deletions

View File

@ -66,7 +66,7 @@ ReturnValue_t SdCardManager::setSdCardState(sd::SdCard sdCard, bool on) {
statestring = "off";
}
std::ostringstream command;
command << "h7hw sd set " << sdstring << " " << statestring;
command << "q7hw sd set " << sdstring << " " << statestring;
int result = std::system(command.str().c_str());
if(result == 0) {
return HasReturnvaluesIF::RETURN_OK;