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

Commit 73a8db8

Browse files
author
Sebastien Guiriec
committed
Parameter: Boolean: Fix Decimal out of range error.
Fix missing false return for backboard synchronization. Signed-off-by: Sebastien Guiriec <[email protected]>
1 parent be4adf7 commit 73a8db8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

parameter/BooleanParameterType.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ bool CBooleanParameterType::toBlackboard(uint32_t uiUserValue, uint32_t &uiValue
108108
if (uiUserValue > 1) {
109109

110110
parameterAccessContext.setError("Value out of range");
111+
return false;
111112
}
112113

113114
uiValue = uiUserValue;

0 commit comments

Comments
 (0)