Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Count down remaining time. More...
#include "std.h"
Go to the source code of this file.
Functions | |
void | time_countdown_init (void) |
void | time_countdown_periodic_1hz (void) |
Variables | |
uint16_t | time_until_end |
Count down remaining time.
Set an initial countdown value in seconds (re-settable via settings/GCS) and countdown time_until_end variable to zero. E.g. allows to check how much time is left before the end of the competition.
Definition in file time_countdown.h.
void time_countdown_init | ( | void | ) |
Definition at line 42 of file time_countdown.c.
References TIME_COUNTDOWN_START_VALUE, and time_until_end.
void time_countdown_periodic_1hz | ( | void | ) |
Definition at line 47 of file time_countdown.c.
References time_until_end.
uint16_t time_until_end |
Definition at line 35 of file time_countdown.c.
Referenced by time_countdown_init(), and time_countdown_periodic_1hz().