|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Include dependency graph for light.c:Go to the source code of this file.
Macros | |
| #define | LIGHT_LED_STROBE 2 |
| #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 |
| #define LIGHT_LED_STROBE 2 |
Definition at line 31 of file light.c.
Referenced by init_light(), and periodic_light().
| #define NAV_LIGHT_MODE_DEFAULT 4 |
Definition at line 39 of file light.c.
Referenced by init_light().
| #define STROBE_LIGHT_MODE_DEFAULT 6 |
Definition at line 35 of file light.c.
Referenced by init_light().
| void init_light | ( | void | ) |
Definition at line 43 of file light.c.
References LED_INIT, LED_OFF, LIGHT_LED_STROBE, nav_light_mode, NAV_LIGHT_MODE_DEFAULT, strobe_light_mode, and STROBE_LIGHT_MODE_DEFAULT.
| void periodic_light | ( | void | ) |
Definition at line 56 of file light.c.
References counter, LED_OFF, LED_ON, LIGHT_LED_STROBE, nav_light_mode, and strobe_light_mode.
| uint8_t nav_light_mode |
Definition at line 28 of file light.c.
Referenced by init_light(), and periodic_light().
| uint8_t strobe_light_mode |
Definition at line 27 of file light.c.
Referenced by init_light(), and periodic_light().