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

This commit is contained in:
bresch
2018-08-06 14:24:43 +02:00
committed by Daniel Agar
parent 4e1027f292
commit b0bbc56d12
+1 -1
View File
@@ -189,7 +189,7 @@ unsigned
NullMixer::mix(float *outputs, unsigned space)
{
if (space > 0) {
*outputs = 0.0f;
*outputs = NAN;
return 1;
}