initialize values
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2021-12-15 11:55:47 +01:00
parent 481756b014
commit 64ab445f4e
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -1094,8 +1094,8 @@ ReturnValue_t CoreController::handleProtInfoUpdateLine(std::string nextLine) {
uint8_t wordIdx = 0;
uint8_t arrayIdx = 0;
istringstream iss(nextLine);
Chip currentChip;
Copy currentCopy;
Chip currentChip = Chip::CHIP_0;
Copy currentCopy = Copy::COPY_0;
while(iss >> word) {
if(wordIdx == 1) {
currentChip = static_cast<Chip>(stoi(word));