Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-13200
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Dec 14, 2023
1 parent fc307da commit 51d7e59
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/sdks/SDK_fms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,15 @@ namespace OpenWifi::SDK::FMS {
F.from_json(FirmwareArr->getObject(i));
FirmWares.emplace_back(F);
}
int done=0;
if(!done) {
for (const auto &Firmware: FirmWares) {
std::cout << "Firmware: " << Firmware.revision << std::endl;
}
done=1;
}
return true;
}
for (const auto &Firmware: FirmWares) {
std::cout << "Firmware: " << Firmware.revision << std::endl;
}
return false;
}

Expand Down

0 comments on commit 51d7e59

Please sign in to comment.