Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
flight_time.c File Reference

Flight time counter that can be set from the gcs. More...

#include "flight_time.h"
#include "generated/airframe.h"
+ Include dependency graph for flight_time.c:

Go to the source code of this file.

Macros

#define FLIGHT_TIME_LEFT   10000
 

Functions

void flight_time_init (void)
 
void flight_time_periodic (void)
 

Variables

uint16_t time_until_land
 

Detailed Description

Flight time counter that can be set from the gcs.

Definition in file flight_time.c.

Macro Definition Documentation

#define FLIGHT_TIME_LEFT   10000

Definition at line 35 of file flight_time.c.

Referenced by flight_time_init().

Function Documentation

void flight_time_init ( void  )

Definition at line 38 of file flight_time.c.

References FLIGHT_TIME_LEFT, and time_until_land.

void flight_time_periodic ( void  )

Definition at line 42 of file flight_time.c.

References time_until_land.

Variable Documentation

uint16_t time_until_land

Definition at line 32 of file flight_time.c.

Referenced by flight_time_init(), and flight_time_periodic().