Skip to content

Commit

Permalink
Adjusted format to meet expected style
Browse files Browse the repository at this point in the history
  • Loading branch information
helpfulchicken committed Nov 6, 2020
1 parent 86fc194 commit d2bfc11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions platform/source/minimal-printf/mbed_printf_implementation.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ static void mbed_minimal_formatted_string_double(char *buffer, size_t length, in
MBED_SIGNED_STORAGE integer = value;

/* write sign if integer part is zero and value is negative */
if ((value < 0.0) && (integer == 0))
{
if ((value < 0.0) && (integer == 0)) {
/* write sign */
mbed_minimal_putchar(buffer, length, result, '-', stream);
}
Expand Down

0 comments on commit d2bfc11

Please sign in to comment.