restructured flash write command
This commit is contained in:
@ -79,11 +79,12 @@ public:
|
||||
/**
|
||||
* @brief Starts flash write sequence
|
||||
*
|
||||
* @param file File with data to write
|
||||
* @param obcFile File where to read from the data
|
||||
* @param mpsocFile The file of the MPSoC where should be written to
|
||||
*
|
||||
* @return RETURN_OK if successful, otherwise error return value
|
||||
*/
|
||||
ReturnValue_t startFlashWrite(std::string file);
|
||||
ReturnValue_t startFlashWrite(std::string obcFile, std::string mpsocFile);
|
||||
|
||||
/**
|
||||
* @brief Can be used to interrupt a running data transfer.
|
||||
@ -104,7 +105,8 @@ private:
|
||||
static const int RETRIES = 3;
|
||||
|
||||
struct FlashWrite {
|
||||
std::string file;
|
||||
std::string obcFile;
|
||||
std::string mpsocFile;
|
||||
};
|
||||
|
||||
struct FlashWrite flashWrite;
|
||||
|
Reference in New Issue
Block a user