fix printFloat

- Move buffer malloc into adafruit_fifo constructor
- allo BLEUart to set fifo size
This commit is contained in:
hathach committed 2017-01-09 21:45:58 +07:00
1 parent d1377d12e6
commit cfd3b86533
5 files changed
+27 -12

No files matched your search

+2 -1
View File
@@ -224,6 +224,7 @@ size_t Print::printNumber(unsigned long n, uint8_t base)
return write(str);
}
#if 0
size_t Print::printFloat(double number, uint8_t digits)
{
char buf[256];
@@ -237,7 +238,7 @@ size_t Print::printFloat(double number, uint8_t digits)
return s;
}
#if 0
#else
size_t Print::printFloat(double number, uint8_t digits)
{
size_t n = 0;