Unlock STR secondary slot #864
@ -426,8 +426,6 @@ ReturnValue_t StrComHandler::performFlashWrite() {
|
||||
file.seekg(0, file.end);
|
||||
fileSize = file.tellg();
|
||||
if (fileSize > FLASH_REGION_SIZE * (flashWrite.lastRegion - flashWrite.firstRegion)) {
|
||||
sif::debug << "Last region: " << (int)flashWrite.lastRegion
|
||||
<< " first region: " << (int)flashWrite.firstRegion << std::endl;
|
||||
sif::warning << "StrHelper::performFlashWrite: Invalid file" << std::endl;
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user