|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Swing specific board initialization function. More...
#include "boards/swing.h"#include "mcu.h"#include <stdlib.h>#include <stdio.h>#include <string.h>#include <fcntl.h>#include <unistd.h>#include <pthread.h>#include <linux/input.h>#include "subsystems/electrical.h"
Include dependency graph for board.c:Go to the source code of this file.
Functions | |
| static void * | bat_read (void *data) |
| Battery reading thread. More... | |
| static void * | button_read (void *data) |
| Check button thread. More... | |
| void | board_init (void) |
| Optional board init function called at the start of mcu_init(). More... | |
| void | board_init2 (void) |
| Optional board init function called at the end of mcu_init(). More... | |
Swing specific board initialization function.
Definition in file board.c.
|
static |
Battery reading thread.
Definition at line 42 of file board.c.
References electrical, TRUE, and Electrical::vsupply.
Referenced by board_init().
Here is the caller graph for this function:
|
static |
Check button thread.
Definition at line 76 of file board.c.
References TRUE.
Referenced by board_init().
Here is the caller graph for this function: