This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-cores
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix String conversion for unsigned char on Teensy 2.0
main
PaulStoffregen
9 years ago
parent
8545ba7ffb
commit
13dd541650
1 changed files
with
3 additions
and
1 deletions
Split View
Show Diff Stats
+3
-1
teensy/WString.cpp
+ 3
- 1
teensy/WString.cpp
View File
@@ -66,7 +66,9 @@ String::String(char c)
String::String(unsigned char c)
{
init();
*this = (char)c;
char buf[4];
utoa(c, buf, 10);
*this = buf;
}
String::String(const int value, unsigned char base)
Write
Preview
Loading…
Cancel
Save