mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
made all doubles to floats
This commit is contained in:
@@ -270,7 +270,7 @@ uint8_t _readIntNumber() {
|
||||
return atoi(numTextPtr);
|
||||
}
|
||||
|
||||
// used to read the next string from an input buffer and convert to a double
|
||||
// used to read the next string from an input buffer and convert to a float
|
||||
float _readFloatNumber() {
|
||||
char * numTextPtr = strtok(nullptr, ", \n");
|
||||
if (numTextPtr == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user