fix so it compiles

This commit is contained in:
2021-07-12 11:49:19 +02:00
committed by Robin Mueller
parent 658e9a4907
commit bf2a4d0ad7
2 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ void SdCardManager::setPreferredSdCard(sd::SdCard sdCard) {
ReturnValue_t SdCardManager::updateSdCardStateFile() {
// Use q7hw utility and pipe the command output into the state file
std::string updateCmd = "q7hw sd info all > " + SD_STATE_FILE;
std::string updateCmd = "q7hw sd info all > " + std::string(SD_STATE_FILE);
int result = std::system(updateCmd.c_str());
if(result == 0) {
return HasReturnvaluesIF::RETURN_OK;