FS queue size configurable
This commit is contained in:
@ -56,8 +56,21 @@ public:
|
||||
*/
|
||||
static SdCardManager* instance();
|
||||
|
||||
/**
|
||||
* Set the preferred SD card which will determine which SD card will be used as the primary
|
||||
* SD card in hot redundant and cold redundant mode. This function will not switch the
|
||||
* SD cards which are currently on and mounted, this needs to be implemented by
|
||||
* an upper layer by using #switchOffSdCard , #switchOnSdCard and #updateSdCardStateFile
|
||||
* @param sdCard
|
||||
* @return
|
||||
*/
|
||||
ReturnValue_t setPreferredSdCard(sd::SdCard sdCard);
|
||||
|
||||
/**
|
||||
* Get the currently configured preferred SD card
|
||||
* @param sdCard
|
||||
* @return
|
||||
*/
|
||||
ReturnValue_t getPreferredSdCard(sd::SdCard& sdCard) const;
|
||||
|
||||
/**
|
||||
@ -124,8 +137,6 @@ private:
|
||||
|
||||
ReturnValue_t setSdCardState(sd::SdCard sdCard, bool on);
|
||||
|
||||
sd::SdCard preferredSdCard = sd::SdCard::SLOT_0;
|
||||
|
||||
void processSdStatusLine(SdStatusPair& active, std::string& line, uint8_t& idx,
|
||||
sd::SdCard& currentSd);
|
||||
|
||||
|
Reference in New Issue
Block a user