mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: platform/CircularBuffer.h
- Revision:
- 189:f392fc9709a3
- Parent:
- 188:bcfe06ba3d64
diff -r bcfe06ba3d64 -r f392fc9709a3 platform/CircularBuffer.h --- a/platform/CircularBuffer.h Thu Nov 08 11:46:34 2018 +0000 +++ b/platform/CircularBuffer.h Wed Feb 20 22:31:08 2019 +0000 @@ -1,5 +1,6 @@ /* mbed Microcontroller Library * Copyright (c) 2015 ARM Limited + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -98,7 +99,7 @@ } _pool[_head++] = data; if (_head == BufferSize) { - _head = 0; + _head = 0; } if (_head == _tail) { _full = true;