Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
time_countdown.h File Reference

Count down remaining time. More...

#include "std.h"
+ Include dependency graph for time_countdown.h:
+ This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

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.

Function Documentation

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.

Variable Documentation

uint16_t time_until_end

Definition at line 35 of file time_countdown.c.

Referenced by time_countdown_init(), and time_countdown_periodic_1hz().