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:
- 72:b1e07ec1c30d
- Parent:
- 69:e22889c7eaa9
diff -r ae3afc16ec3e -r b1e07ec1c30d MTS-Lora/vendor/multitech/MTS-Utils/MTSCircularBuffer.h
--- a/MTS-Lora/vendor/multitech/MTS-Utils/MTSCircularBuffer.h Fri Nov 08 09:34:58 2019 -0600
+++ b/MTS-Lora/vendor/multitech/MTS-Utils/MTSCircularBuffer.h Mon Feb 17 14:43:04 2020 -0600
@@ -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