This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-core-4.1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add nullptr check
teensy4-core
Frank
6 years ago
parent
1badfa2ccd
commit
fc0677b9a6
No account linked to committer's email address
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
+1
-0
teensy4/Print.cpp
+ 1
- 0
teensy4/Print.cpp
View File
@@ -41,6 +41,7 @@
size_t Print::write(const uint8_t *buffer, size_t size)
{
if (buffer == nullptr) return 0;
size_t count = 0;
while (size--) count += write(*buffer++);
return count;
Write
Preview
Loading…
Cancel
Save