From c3273ebeb347c055712d4fc79183ff5702de841b Mon Sep 17 00:00:00 2001 From: John Date: Sat, 3 Sep 2022 11:20:50 +0200 Subject: [PATCH] fix declaration --- src/lib/ebus/datatype.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/ebus/datatype.h b/src/lib/ebus/datatype.h index 65de328c..d575001e 100755 --- a/src/lib/ebus/datatype.h +++ b/src/lib/ebus/datatype.h @@ -187,9 +187,10 @@ enum PartType { /** * Parse a float value from the 32 bit representation (IEEE 754). * @param value the 32 bit representation of the float value. + * @param negative true if the value is negative. * @return the float value. */ -float uintToFloat(unsigned int value); +float uintToFloat(unsigned int value, bool negative); /** * Format a float value to the 32 bit representation (IEEE 754).