Browse Source

Fix String conversion for unsigned char on Teensy 2.0

main
PaulStoffregen 9 years ago
parent
commit
13dd541650
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      teensy/WString.cpp

+ 3
- 1
teensy/WString.cpp View File

String::String(unsigned char c) String::String(unsigned char c)
{ {
init(); init();
*this = (char)c;
char buf[4];
utoa(c, buf, 10);
*this = buf;
} }


String::String(const int value, unsigned char base) String::String(const int value, unsigned char base)

Loading…
Cancel
Save