From da7df362c63ab199f6360999c2afd75724117f41 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 5 Mar 2017 14:17:48 -0500 Subject: [PATCH] docs --- firmware/util/efilib.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/util/efilib.cpp b/firmware/util/efilib.cpp index abd542fdca..9047e6bbaf 100644 --- a/firmware/util/efilib.cpp +++ b/firmware/util/efilib.cpp @@ -140,6 +140,9 @@ static char *ltoa_internal(char *p, long num, unsigned radix) { return p; } +/** + * @return pointer at the end zero symbol after the digits + */ static char* itoa_signed(char *p, int num, unsigned radix) { if (num < 0) { *p++ = '-'; @@ -154,6 +157,8 @@ static char* itoa_signed(char *p, int num, unsigned radix) { /** * Integer to string + * + * @return pointer at the end zero symbol after the digits */ char* itoa10(char *p, int num) { // todo: unit test