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.
Dependents: TargetManagerManualTest NerfUSTarget
Diff: source/TargetMissedCallback.cpp
- Revision:
- 3:70212b0e0939
- Child:
- 6:b6ecf23f24ce
diff -r 08171ac3fea4 -r 70212b0e0939 source/TargetMissedCallback.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/source/TargetMissedCallback.cpp Sun Mar 12 00:33:25 2017 +0000
@@ -0,0 +1,12 @@
+#include "TargetMissedCallback.hpp"
+
+TargetMissedCallback::TargetMissedCallback(TargetManager& target_manager, const int id) :
+ target_manager(target_manager),
+ id(id)
+{
+}
+
+void TargetMissedCallback::call()
+{
+ target_manager.target_missed(id);
+}