File tree 2 files changed +20
-4
lines changed
2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -468,6 +468,23 @@ bossac.exe -d --port=COM5 -U true -i -e -w -v Blink_Demo_ATSAMD21E18A.bin -R
468
468
469
469
## ChangeLog
470
470
471
+ * 1.6.6-mt1:
472
+
473
+ * Merged in changes from upstream SAMD CORE 1.6.3
474
+ * Added SPI.transfer16(..) method
475
+ * Bugfix: added missing Serial.begin(baud, config) method. Thanks @tuxedo0801
476
+
477
+ * Merged in changes from upstream SAMD CORE 1.6.2 2015.11.03
478
+ * Fixed bug in delay calculations
479
+ * Fixed deadlock conditions in Wire. Thanks Erin Tomson
480
+ * Print not aborting on write() failure. Thanks @stickbreaker
481
+ * SPI can now be configured in variants. Thanks @aethaniel
482
+ * Implemented Wire.end
483
+ * Implemented Wire.setClock. Thanks @PaoloP74
484
+ * Wire: allow scanning bus via beginTransmission-endTransmission
485
+ * USB Device: big refactoring and bug fix
486
+ * USB Device: added PluggableUSB interface
487
+
471
488
* 1.6.5-mt2:
472
489
* See 'What's New' above.
473
490
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ size_t Print::write(const uint8_t *buffer, size_t size)
31
31
{
32
32
size_t n = 0 ;
33
33
while (size--) {
34
- n += write (*buffer++);
34
+ if (write (*buffer++)) n++;
35
+ else break ;
35
36
}
36
37
return n;
37
38
}
@@ -112,9 +113,7 @@ size_t Print::print(const Printable& x)
112
113
113
114
size_t Print::println (void )
114
115
{
115
- size_t n = print (' \r ' );
116
- n += print (' \n ' );
117
- return n;
116
+ return write (" \r\n " );
118
117
}
119
118
120
119
size_t Print::println (const String &s)
You can’t perform that action at this time.
0 commit comments