writing api for scratch buffer
This commit is contained in:
@ -122,6 +122,8 @@ ReturnValue_t SdCardManager::sdCardActive(std::pair<bool, bool>& active) {
|
||||
}
|
||||
|
||||
sd::SdCard SdCardManager::getPreferredSdCard() const {
|
||||
int result = std::system("xsc_scratch read PREFSD > /tmp/pref_sd.txt");
|
||||
|
||||
return preferredSdCard;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user