Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
light.c File Reference
#include "light.h"
#include "led.h"
+ Include dependency graph for light.c:

Go to the source code of this file.

Macros

#define STROBE_LIGHT_MODE_DEFAULT   6
 
#define NAV_LIGHT_MODE_DEFAULT   4
 

Functions

void init_light (void)
 
void periodic_light (void)
 

Variables

uint8_t strobe_light_mode
 
uint8_t nav_light_mode
 

Macro Definition Documentation

#define NAV_LIGHT_MODE_DEFAULT   4

Definition at line 34 of file light.c.

Referenced by init_light().

#define STROBE_LIGHT_MODE_DEFAULT   6

Definition at line 30 of file light.c.

Referenced by init_light().

Function Documentation

void init_light ( void  )
void periodic_light ( void  )

Definition at line 50 of file light.c.

References LED_OFF, LED_ON, LIGHT_LED_STROBE, nav_light_mode, and strobe_light_mode.

Variable Documentation

uint8_t nav_light_mode

Definition at line 27 of file light.c.

Referenced by init_light(), and periodic_light().

uint8_t strobe_light_mode

Definition at line 26 of file light.c.

Referenced by init_light(), and periodic_light().