C027 updated to work with latest mBed libraries
Dependents: Cellular_HelloMQTT UBLOXModemDriver UBLOXMQTTDriver
Fork of C027_Support by
Diff: Pipe.h
- Revision:
- 7:9aa830f5811e
- Parent:
- 5:5362073f2689
- Child:
- 8:2435cdff8015
diff -r 775aef3f1d1f -r 9aa830f5811e Pipe.h --- a/Pipe.h Sat Nov 09 12:20:25 2013 +0000 +++ b/Pipe.h Sat Nov 09 13:31:01 2013 +0000 @@ -65,8 +65,8 @@ w = t; } else - w += m; - } + w = _inc(w,m); + } return n; } // reading thread @@ -112,7 +112,7 @@ r = t; } else - r += m; + r = _inc(r,m); } return n; }