mirror of https://github.com/noisymime/Arduino.git
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: 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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue