Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MTS-Serial by
Diff: MTSSerialFlowControl.cpp
- Revision:
- 10:b18a1064dfc6
- Parent:
- 4:d348d001283b
- Child:
- 12:e12b79a4ab4f
--- a/MTSSerialFlowControl.cpp Mon Aug 11 15:44:14 2014 +0000
+++ b/MTSSerialFlowControl.cpp Fri Jan 23 16:52:25 2015 -0600
@@ -14,7 +14,7 @@
notifyStartSending();
// Calculate the high and low watermark values
- highThreshold = MAX(rxBufSize - 10, rxBufSize * 0.85);
+ highThreshold = mts_max(rxBufSize - 10, rxBufSize * 0.85);
lowThreshold = rxBufSize * 0.3;
// Setup the low watermark callback on the internal receive buffer
