Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Arduino Core for SAMD21 CPU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
Arduino Core for SAMD21 CPU
Commits
683845e4
Commit
683845e4
authored
8 years ago
by
Cristian Maglie
Browse files
Options
Downloads
Patches
Plain Diff
Update string class to upstream version
parent
49a66b47
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+3
-2
3 additions, 2 deletions
CHANGELOG
cores/arduino/WString.h
+6
-4
6 additions, 4 deletions
cores/arduino/WString.h
with
9 additions
and
6 deletions
CHANGELOG
+
3
−
2
View file @
683845e4
SAMD CORE
SAMD CORE
* Fixed Serial.flush() blocking before any writes. Thanks @hangmoh
* Fixed Serial.flush() blocking before any writes. Thanks @hangmoh
* Added snprintf_P to avr/pgmspace.h stub. Thanks @jantje
* Added snprintf_P to avr/pgmspace.h stub. Thanks @jantje
* Another small fix to String iterators. Thanks @Ivan-Perez @Chris--A
SAMD CORE 1.6.6 2016.05.19
SAMD CORE 1.6.6 2016.05.19
...
...
This diff is collapsed.
Click to expand it.
cores/arduino/WString.h
+
6
−
4
View file @
683845e4
...
@@ -159,10 +159,12 @@ public:
...
@@ -159,10 +159,12 @@ public:
char
&
operator
[]
(
unsigned
int
index
);
char
&
operator
[]
(
unsigned
int
index
);
void
getBytes
(
unsigned
char
*
buf
,
unsigned
int
bufsize
,
unsigned
int
index
=
0
)
const
;
void
getBytes
(
unsigned
char
*
buf
,
unsigned
int
bufsize
,
unsigned
int
index
=
0
)
const
;
void
toCharArray
(
char
*
buf
,
unsigned
int
bufsize
,
unsigned
int
index
=
0
)
const
void
toCharArray
(
char
*
buf
,
unsigned
int
bufsize
,
unsigned
int
index
=
0
)
const
{
getBytes
((
unsigned
char
*
)
buf
,
bufsize
,
index
);}
{
getBytes
((
unsigned
char
*
)
buf
,
bufsize
,
index
);
}
const
char
*
c_str
()
const
{
return
buffer
;
}
const
char
*
c_str
()
const
{
return
buffer
;
}
const
char
*
begin
()
{
return
c_str
();
}
char
*
begin
()
{
return
buffer
;
}
const
char
*
end
()
{
return
c_str
()
+
length
();
}
char
*
end
()
{
return
buffer
+
length
();
}
const
char
*
begin
()
const
{
return
c_str
();
}
const
char
*
end
()
const
{
return
c_str
()
+
length
();
}
// search
// search
int
indexOf
(
char
ch
)
const
;
int
indexOf
(
char
ch
)
const
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment