Support for LISA-N101
Fork of C027_Support by
This is a variant of the C027 driver code for the C027N version, i.e. the one with the Neul/Huawei/u-blox Cellular Internet of Things module on board. The AT command interface for this module is entirely different to the AT interface for the other u-blox modules, hence this fork of the driver. Work is underway to rearchitect the original C027 driver so that a merge can be done.
Diff: Pipe.h
- Revision:
- 7:9aa830f5811e
- Parent:
- 5:5362073f2689
- Child:
- 8:2435cdff8015
--- 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; }