Skip to content
Snippets Groups Projects
Commit b0bbc56d authored by bresch's avatar bresch Committed by Daniel Agar
Browse files

NullMixer - Send NAN instead of 0. NAN is mapped to disarmed in fmu and io. A...

NullMixer - Send NAN instead of 0. NAN is mapped to disarmed in fmu and io. A Null mixer can now be used to set a fixed value: "disarmed" if the system is operational or "failsafe" in failsafe mode
parent 4e1027f2
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ unsigned
NullMixer::mix(float *outputs, unsigned space)
{
if (space > 0) {
*outputs = 0.0f;
*outputs = NAN;
return 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment