aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
authorIván Pérez <ivanperez2@gmail.com>2016-09-12 09:00:04 +0200
committerIván Pérez <ivanperez2@gmail.com>2016-09-12 09:00:04 +0200
commit54c0b616b16f95129a0538bb8433eec2bb03f9d4 (patch)
tree167bd8dbcf92c6420af61d65b063a2ad538b792d /cores
parentb74a02cb217be5857afde7eb05ccdec686fe83f9 (diff)
Spaces to tab
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/WString.cpp6
-rw-r--r--cores/arduino/WString.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/cores/arduino/WString.cpp b/cores/arduino/WString.cpp
index 998cf22..f2572d6 100644
--- a/cores/arduino/WString.cpp
+++ b/cores/arduino/WString.cpp
@@ -745,6 +745,6 @@ float String::toFloat(void) const
double String::toDouble(void) const
{
- if (buffer) return atof(buffer);
- return 0;
-} \ No newline at end of file
+ if (buffer) return atof(buffer);
+ return 0;
+}
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index 08b8147..77709c3 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -190,7 +190,7 @@ public:
// parsing/conversion
long toInt(void) const;
float toFloat(void) const;
- double toDouble(void) const;
+ double toDouble(void) const;
protected:
char *buffer; // the actual char array