Skip to content

Commit dbef22d

Browse files
committed
init-orbit fix
1 parent 8d33b0f commit dbef22d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/releaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ This file describes the main feature changes for released versions of ReadoutCar
2121
## v0.40.1 - 11/01/2023
2222
- Added support for CRORC firmware version v2.10.0 (0x221ff280)
2323
- Minor compilation warnings fixed
24+
25+
## next version
26+
- Fixed bug with o2-roc-ctp-emulator failing to parse hexadecimal values of the init-orbit option.

src/CommandLineUtilities/ProgramCtpEmulator.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class ProgramCtpEmulator : public Program
113113
mOptions.triggerFrequency,
114114
mOptions.generateEox,
115115
mOptions.generateSingleTrigger,
116-
(uint32_t)strtoul(mOptions.orbitInit.c_str(), NULL, 32) });
116+
(uint32_t)strtoul(mOptions.orbitInit.c_str(), NULL, 16) });
117117
}
118118

119119
private:

0 commit comments

Comments
 (0)