This commit is contained in:
parent
f8f0032d1e
commit
59c4ed74e0
@ -473,7 +473,7 @@ ReturnValue_t CoreController::actionPerformReboot(const uint8_t *data, size_t si
|
|||||||
return HasActionsIF::INVALID_PARAMETERS;
|
return HasActionsIF::INVALID_PARAMETERS;
|
||||||
}
|
}
|
||||||
// The second byte in data is the target chip, the third byte is the target copy
|
// The second byte in data is the target chip, the third byte is the target copy
|
||||||
std::string cmdString = "xsc_boot_copy " + std::to_string(data[1]) +
|
std::string cmdString = "xsc_boot_copy " + std::to_string(data[1]) + " " +
|
||||||
std::to_string(data[2]);
|
std::to_string(data[2]);
|
||||||
int result = std::system(cmdString.c_str());
|
int result = std::system(cmdString.c_str());
|
||||||
if(result != 0) {
|
if(result != 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user