PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "circuit_breaker.h"
#include <stdint.h>
#include <px4_platform_common/defines.h>
#include <lib/parameters/param.h>
Go to the source code of this file.
Functions | |
bool | circuit_breaker_enabled (const char *breaker, int32_t magic) |
bool | circuit_breaker_enabled_by_val (int32_t breaker_val, int32_t magic) |
bool circuit_breaker_enabled | ( | const char * | breaker, |
int32_t | magic | ||
) |
Definition at line 51 of file circuit_breaker.cpp.
References param_find(), and param_get().
Referenced by PX4IO::init(), ToneAlarm::start_note(), PX4IO::task_main(), and SafetyButton::task_spawn().
bool circuit_breaker_enabled_by_val | ( | int32_t | breaker_val, |
int32_t | magic | ||
) |
Definition at line 58 of file circuit_breaker.cpp.
Referenced by Commander::get_circuit_breaker_params(), and MulticopterRateControl::parameters_updated().