NerfUS game coordinator for the Nerf gun firing range

Dependencies:   HardwareInterface mbed-rtos mbed

Fork of NerfUS by NerfUS

source/Target.cpp

Committer:
Maxime Dupuis
Date:
2017-02-23
Revision:
16:5e6c695468b6

File content as of revision 16:5e6c695468b6:

#include "Target.hpp"

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