From b53d75b9a7dd00abba845f43b56be67daa33282c Mon Sep 17 00:00:00 2001
From: Micah Elizabeth Scott <micah@scanlime.org>
Date: Sat, 20 Jul 2013 20:27:44 -0700
Subject: [PATCH] RAM size optimization

Removes printf and malloc!
---
 firmware/nonstd.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/firmware/nonstd.c b/firmware/nonstd.c
index 40ef980..c8cbed3 100644
--- a/firmware/nonstd.c
+++ b/firmware/nonstd.c
@@ -72,12 +72,3 @@ char * ltoa(long val, char *buf, int radix)
 	}
 }
 
-// TODO: actually write an efficient dtostrf()....
-char * dtostrf(float val, int width, unsigned int precision, char *buf)
-{
-	char format[20];
-	sprintf(format, "%%%d.%df", width, precision);
-	sprintf(buf, format, val);
-	return buf;
-}
-
-- 
GitLab