Navigation Menu

Skip to content

Commit

Permalink
Spaces to tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Perez committed Sep 12, 2016
1 parent 4650c2c commit 24cba16
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions hardware/arduino/avr/cores/arduino/WString.cpp
Expand Up @@ -745,6 +745,6 @@ float String::toFloat(void) const

double String::toDouble(void) const
{
if (buffer) return atof(buffer);
return 0;
}
if (buffer) return atof(buffer);
return 0;
}
2 changes: 1 addition & 1 deletion hardware/arduino/avr/cores/arduino/WString.h
Expand Up @@ -190,7 +190,7 @@ class String
// 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
Expand Down
6 changes: 3 additions & 3 deletions hardware/arduino/sam/cores/arduino/WString.cpp
Expand Up @@ -747,6 +747,6 @@ float String::toFloat(void) const

double String::toDouble(void) const
{
if (buffer) return atof(buffer);
return 0;
}
if (buffer) return atof(buffer);
return 0;
}
2 changes: 1 addition & 1 deletion hardware/arduino/sam/cores/arduino/WString.h
Expand Up @@ -190,7 +190,7 @@ class String
// 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
Expand Down

0 comments on commit 24cba16

Please sign in to comment.