Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
bat_checker.c File Reference
#include "bat_checker.h"
#include "generated/airframe.h"
#include "generated/modules.h"
#include "subsystems/electrical.h"
#include "led.h"
+ Include dependency graph for bat_checker.c:

Go to the source code of this file.

Macros

#define BAT_CHECKER_DELAY   5
 
#define WARN_BAT_LEVEL1   (LOW_BAT_LEVEL*10)
 
#define WARN_BAT_LEVEL2   (CRITIC_BAT_LEVEL*10)
 

Functions

void init_bat_checker (void)
 
void bat_checker_periodic (void)
 

Macro Definition Documentation

#define BAT_CHECKER_DELAY   5

Definition at line 42 of file bat_checker.c.

Referenced by bat_checker_periodic().

#define WARN_BAT_LEVEL1   (LOW_BAT_LEVEL*10)

Definition at line 46 of file bat_checker.c.

Referenced by bat_checker_periodic().

#define WARN_BAT_LEVEL2   (CRITIC_BAT_LEVEL*10)

Definition at line 49 of file bat_checker.c.

Referenced by bat_checker_periodic().

Function Documentation

void bat_checker_periodic ( void  )
void init_bat_checker ( void  )

Definition at line 51 of file bat_checker.c.

References LED_INIT, and LED_OFF.