Fixed USBSerial.write() while sending big buffers (Bill Dreschel)

This commit is contained in:
Cristian Maglie 2013-01-25 15:55:35 +01:00
parent 24bd97413e
commit 95cadfef12
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ ARDUINO 1.5.2 BETA - 2012.01.23
* sam: fixed BSoD on some Windows machine (louismdavis) * sam: fixed BSoD on some Windows machine (louismdavis)
* sam: added CANRX1/CANTX1 pins 88/89 (same physical pin for 66/53) * 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 analogWrite when used in very thight write loops (V.Dorrich)
* sam: fixed USBSerial.write() while sending big buffers (Bill Dreschel)
[libraries] [libraries]
* sam: Added Servo library * sam: Added Servo library

View File

@ -199,6 +199,7 @@ uint32_t USBD_Send(uint32_t ep, const void* d, uint32_t len)
len -= n; len -= n;
UDD_Send(ep & 0xF, data, n); UDD_Send(ep & 0xF, data, n);
data += n;
} }
//TXLED1; // light the TX LED //TXLED1; // light the TX LED
//TxLEDPulse = TX_RX_LED_PULSE_MS; //TxLEDPulse = TX_RX_LED_PULSE_MS;