NerfUS game coordinator for the Nerf gun firing range
Dependencies: HardwareInterface mbed-rtos mbed
Fork of NerfUS by
Diff: source/Target.cpp
- Revision:
- 16:5e6c695468b6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/Target.cpp Thu Feb 23 21:22:57 2017 -0500 @@ -0,0 +1,8 @@ +#include "Target.hpp" + +TargetInfo make_TargetInfo(const int id, const TargetType type, int timeout_ms) +{ + TargetInfo target = {id, type, timeout_ms}; + return target; +} +