aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Paland <marco@paland.com>2018-04-20 00:09:31 +0200
committerMarco Paland <marco@paland.com>2018-04-20 00:09:31 +0200
commit8db261eed610d9e60dbc0eb67d7d5eba54a419ad (patch)
tree8761d86c4c82f885e5907a8a9e4c1afaa13fe55b
parentcd4481a6f29893fb0fff0c0ff0ff9c8f152af7dc (diff)
downloadprintf-8db261eed610d9e60dbc0eb67d7d5eba54a419ad.tar.gz
printf-8db261eed610d9e60dbc0eb67d7d5eba54a419ad.tar.bz2
printf-8db261eed610d9e60dbc0eb67d7d5eba54a419ad.zip
chore(printf): update comments
-rw-r--r--printf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/printf.c b/printf.c
index ed6e745..69c7ea7 100644
--- a/printf.c
+++ b/printf.c
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////
// \author (c) Marco Paland (info@paland.com)
-// 2014-2017, PALANDesign Hannover, Germany
+// 2014-2018, PALANDesign Hannover, Germany
//
// \license The MIT License (MIT)
//
@@ -22,7 +22,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
-// \brief Tiny printf, sprintf and snprintf implementation, optimized for speed on
+// \brief Tiny printf, sprintf and (v)snprintf implementation, optimized for speed on
// embedded systems with a very limited resources. These routines are thread
// safe and reentrant!
// Use this instead of the bloated standard/newlib printf cause these use
@@ -261,7 +261,7 @@ static size_t _ftoa(double value, char* buffer, size_t maxlen, unsigned int prec
++frac;
}
- // for very large numbers switch back to native sprintf for exponentials. anyone want to write code to replace this?
+ // TBD: for very large numbers switch back to native sprintf for exponentials. anyone want to write code to replace this?
// normal printf behavior is to print EVERY whole number digit which can be 100s of characters overflowing your buffers == bad
if (value > thres_max) {
return 0U;