NerfUS mobile node that manages a target for the Nerf gun firing range

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

source/TargetInfo.cpp

Committer:
Maxime Dupuis
Date:
2017-03-27
Revision:
28:8fc53a870691

File content as of revision 28:8fc53a870691:

#include "TargetInfo.hpp"

TargetInfo make_TargetInfo(const int id, const TargetType type, const int timeout_ms)
{
    TargetInfo target = {id, type, timeout_ms};
    return target;
}