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.
Diff: MTS-Lora/vendor/multitech/MTS-Utils/MTSCircularBuffer.h
- Revision:
- 68:5f787643e7d7
- Parent:
- 64:64982192a2af
- Child:
- 69:e22889c7eaa9
diff -r a9d4d7cdeca1 -r 5f787643e7d7 MTS-Lora/vendor/multitech/MTS-Utils/MTSCircularBuffer.h --- a/MTS-Lora/vendor/multitech/MTS-Utils/MTSCircularBuffer.h Wed May 01 09:18:46 2019 -0500 +++ b/MTS-Lora/vendor/multitech/MTS-Utils/MTSCircularBuffer.h Thu Aug 29 08:32:27 2019 -0500 @@ -82,7 +82,7 @@ void attach(T *tptr, void( T::*mptr)(void), int threshold, RelationalOperator op) { _threshold = threshold; _op = op; - notify.attach(tptr, mptr); + notify = callback(tptr, mptr); } /** This method is used to setup a callback funtion when the buffer reaches