Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
1bc1e8c6
Commit
1bc1e8c6
authored
Nov 19, 2018
by
Terry J Myers
Committed by
Me No Dev
Nov 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update WString.cpp (#1936)
parent
2132d9f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cores/esp32/WString.cpp
cores/esp32/WString.cpp
+6
-0
No files found.
cores/esp32/WString.cpp
View file @
1bc1e8c6
...
...
@@ -882,6 +882,12 @@ float String::toFloat(void) const
return
0
;
}
double
String
::
toDouble
(
void
)
const
{
if
(
buffer
)
{
return
atof
(
buffer
);
}
return
0
;
}
unsigned
char
String
::
equalsConstantTime
(
const
String
&
s2
)
const
{
// To avoid possible time-based attacks present function
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment