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.
Dependencies: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
Diff: mbed_source/TargetHitCalibrateCallback.cpp
- Revision:
- 46:853966aab733
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed_source/TargetHitCalibrateCallback.cpp Tue Apr 11 03:49:04 2017 +0000
@@ -0,0 +1,11 @@
+#include "TargetHitCalibrateCallback.hpp"
+
+TargetHitCalibrateCallback::TargetHitCalibrateCallback(Calibrator& calibrator) :
+ calibrator(calibrator)
+{
+}
+
+void TargetHitCalibrateCallback::call()
+{
+ calibrator.on_rise();
+}
