mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 21:50:35 +08:00
Ran Astyle
This commit is contained in:
committed by
Lorenz Meier
parent
d290487382
commit
cb5e384105
@@ -49,9 +49,11 @@
|
||||
bool circuit_breaker_enabled(const char *breaker, int32_t magic)
|
||||
{
|
||||
int32_t val = -1;
|
||||
|
||||
if (PX4_PARAM_GET_BYNAME(breaker, &val) == 0 && val == magic) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user