Skip to content

Commit c828f1a

Browse files
authored
Merge pull request #409 from sy-c/master
v0.42.2
2 parents f7a4daf + a086b4a commit c828f1a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

doc/releaseNotes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ This file describes the main feature changes for released versions of ReadoutCar
3737
## v0.42.1 - 06/03/2023
3838
- Fixed bug with roc-config JSON: crorc-id wrongly set in "cru" section. Now named crorcId and to be set under "crorc" section.
3939

40-
## next version
40+
## v0.42.2 - 16/03/2023
4141
- Fix for crorId field in configuration file.
4242
- o2-roc-list-cards is able to identify previous versions of the firmware. Their version number is displayed and they are flagged as "old", when not on the compatibility list any more.

src/FirmwareChecker.cxx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,13 @@ FirmwareChecker::FirmwareChecker() : mCompatibleFirmwareList({
7373

7474
// if the parsed list is not empty update the compatible fimrware list
7575
if (!parsedList.empty()) {
76-
mCompatibleFirmwareList = parsedList;
76+
// append existing list...
77+
for (const auto& p: parsedList) {
78+
if ((p.first.length()) && (p.second.length())) {
79+
mCompatibleFirmwareList.insert(p);
80+
}
81+
}
82+
//mCompatibleFirmwareList = parsedList;
7783
}
7884
}
7985

src/ReadoutCardVersion.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include "ReadoutCard/Version.h"
1313

14-
#define O2_READOUTCARD_VERSION "0.42.1"
14+
#define O2_READOUTCARD_VERSION "0.42.2"
1515

1616
namespace o2
1717
{

0 commit comments

Comments
 (0)