Aligning definition and declaration of UnityPrintFloat

There was a mismatch of definition and declaration of UnityPrintFloat
and this commit aligns both on const UNITY_DOUBLE, but then inside it
actually uses a positive version of the variable only.
This commit is contained in:
Crt Mori
2017-01-24 22:52:43 +01:00
parent ff03e1c915
commit 3588e5b6d3
2 changed files with 9 additions and 4 deletions

View File

@ -427,7 +427,7 @@ void UnityPrintNumberUnsigned(const UNITY_UINT number);
void UnityPrintNumberHex(const UNITY_UINT number, const char nibbles);
#ifndef UNITY_EXCLUDE_FLOAT_PRINT
void UnityPrintFloat(const UNITY_DOUBLE number);
void UnityPrintFloat(const UNITY_DOUBLE input_number);
#endif
/*-------------------------------------------------------