Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit d4ac41d

Browse files
committed
Fix dumpElement for ArrayParameters
Use correct blackboard index while calling dumpElement (logValue for ArrayParameter class) to fix the eratic behavior of dumpElement for ArrayParameters. Change-Id: I255af6969283f91cdd2efd810c7d453f3765a16d Tracked-On: Signed-off-by: François Gaffie <[email protected]>
1 parent e678467 commit d4ac41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parameter/ArrayParameter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ bool CArrayParameter::access(std::vector<string> &astrValues, bool bSet,
171171
string CArrayParameter::logValue(CParameterAccessContext &context) const
172172
{
173173
// Dump values
174-
return getValues(0, context);
174+
return getValues(getOffset() - context.getBaseOffset(), context);
175175
}
176176

177177
// Used for simulation and virtual subsystems

0 commit comments

Comments
 (0)