Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ time_countdown_init()

void time_countdown_init ( void  )

Definition at line 42 of file time_countdown.c.

References TIME_COUNTDOWN_START_VALUE, and time_until_end.

◆ time_countdown_periodic_1hz()

void time_countdown_periodic_1hz ( void  )

Definition at line 47 of file time_countdown.c.

References time_until_end.

Variable Documentation

◆ time_until_end

uint16_t time_until_end
extern

Definition at line 35 of file time_countdown.c.

Referenced by time_countdown_init(), and time_countdown_periodic_1hz().