Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
#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"
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, f, TRUE, and Electrical::vsupply.
Referenced by board_init().
|
static |
Check button thread.
Definition at line 74 of file board.c.
Referenced by board_init().