mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 22:32:11 +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