mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Fixed USBSerial.write() while sending big buffers (Bill Dreschel)
This commit is contained in:
parent
24bd97413e
commit
95cadfef12
@ -21,6 +21,7 @@ ARDUINO 1.5.2 BETA - 2012.01.23
|
||||
* sam: fixed BSoD on some Windows machine (louismdavis)
|
||||
* sam: added CANRX1/CANTX1 pins 88/89 (same physical pin for 66/53)
|
||||
* sam: fixed analogWrite when used in very thight write loops (V.Dorrich)
|
||||
* sam: fixed USBSerial.write() while sending big buffers (Bill Dreschel)
|
||||
|
||||
[libraries]
|
||||
* sam: Added Servo library
|
||||
|
@ -199,6 +199,7 @@ uint32_t USBD_Send(uint32_t ep, const void* d, uint32_t len)
|
||||
len -= n;
|
||||
|
||||
UDD_Send(ep & 0xF, data, n);
|
||||
data += n;
|
||||
}
|
||||
//TXLED1; // light the TX LED
|
||||
//TxLEDPulse = TX_RX_LED_PULSE_MS;
|
||||
|
Loading…
Reference in New Issue
Block a user