Respect BSD disable flags in gen2 functions
@@ -194,6 +194,9 @@ SURVIVE_EXPORT void survive_default_sync_process(SurviveObject *so, survive_chan
return;
}
+ if (so->ctx->bsd[bsd_idx].disable)
+ return;
+
assert(channel <= NUM_GEN2_LIGHTHOUSES);
survive_recording_sync_process(so, channel, timecode, ootx, gen);
@@ -318,6 +321,9 @@ SURVIVE_EXPORT void survive_default_sweep_process(SurviveObject *so, survive_cha
return;
}
+ if (so->ctx->bsd[bsd_idx].disable)
+ return;
+
survive_notify_gen2(so, "sweep called");
survive_recording_sweep_process(so, channel, sensor_id, timecode, half_clock_flag);
