Skip to content

Commit 92533ff

Browse files
authored
Merge pull request #12442 from DavidLin1577/patch-3
Fixed typo: 'lenght' in minimal-printf
2 parents d4cff72 + d725b13 commit 92533ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: platform/source/minimal-printf/mbed_printf_implementation.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ int mbed_minimal_formatted_string(char *buffer, size_t length, const char *forma
508508
value = va_arg(arguments, MBED_SIGNED_NATIVE_TYPE);
509509
}
510510

511-
/* constrict value based on lenght modifier */
511+
/* constrict value based on length modifier */
512512
switch (length_modifier) {
513513
case LENGTH_NONE:
514514
value = (int) value;
@@ -557,7 +557,7 @@ int mbed_minimal_formatted_string(char *buffer, size_t length, const char *forma
557557
value = va_arg(arguments, MBED_UNSIGNED_NATIVE_TYPE);
558558
}
559559

560-
/* constrict value based on lenght modifier */
560+
/* constrict value based on length modifier */
561561
switch (length_modifier) {
562562
case LENGTH_NONE:
563563
value = (unsigned int) value;

0 commit comments

Comments
 (0)