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
source/TargetInfo.cpp@51:6bf268cd1a1b, 2017-04-12 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Wed Apr 12 10:33:32 2017 -0400
- Revision:
- 51:6bf268cd1a1b
- Parent:
- 28:8fc53a870691
Update tests to ignore target hits before 750ms threshold
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Maxime Dupuis |
28:8fc53a870691 | 1 | #include "TargetInfo.hpp" |
| Maxime Dupuis |
28:8fc53a870691 | 2 | |
| Maxime Dupuis |
28:8fc53a870691 | 3 | TargetInfo make_TargetInfo(const int id, const TargetType type, const int timeout_ms) |
| Maxime Dupuis |
28:8fc53a870691 | 4 | { |
| Maxime Dupuis |
28:8fc53a870691 | 5 | TargetInfo target = {id, type, timeout_ms}; |
| Maxime Dupuis |
28:8fc53a870691 | 6 | return target; |
| Maxime Dupuis |
28:8fc53a870691 | 7 | } |
