From 836feaecd602e86ea6d954ae018a2d7bbc04aa7a Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 22 Feb 2017 13:06:24 +0100 Subject: Change way to convert simplemessage into a json object. Improve doxygen comments Change-Id: I794bdc10f9e1ce66ebd4e68dbd6e0c465e3ca5c4 Signed-off-by: Romain Forlot --- src/timer.hpp | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/timer.hpp') diff --git a/src/timer.hpp b/src/timer.hpp index 0454a80..7d0e466 100644 --- a/src/timer.hpp +++ b/src/timer.hpp @@ -19,15 +19,24 @@ #include +/* + * @brief return epoch in milliseconds + * + * @return long long int epoch in milliseconds + */ typedef long long int (*TimeFunction)(); /** - * @brief: A frequency counting clock. + * @struct FrequencyClock + * @brief A frequency counting clock. * - * frequency - the clock frequency in Hz. - * last_time - the last time (in milliseconds since startup) that the clock + * @var FrequencyClock::frequency + * the clock frequency in Hz. + * @var FrequencyClock::last_time + * the last time (in milliseconds since startup) that the clock * ticked. - * time_function - a function returning current time + * @var FrequencyClock::time_function + * a function returning current time */ typedef struct { float frequency; -- cgit 1.2.3-korg