fix printFloat
- Move buffer malloc into adafruit_fifo constructor - allo BLEUart to set fifo size
This commit is contained in:
1 parent
d1377d12e6
commit
cfd3b86533
5 files changed
+27
-12
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user