};
static const char *trigger_sources[] = {
- "CH1", "CH2", "EXT",
- /* TODO: forced */
+ "CH1", "CH2", "EXT", "forced"
};
static const char *trigger_slopes[] = {
break;
if (dso_enable_trigger(sdi) != SR_OK)
break;
-// if (dso_force_trigger(sdi) != SR_OK)
-// break;
+ if (!strcmp("forced", devc->triggersource)) {
+ if (dso_force_trigger(sdi) != SR_OK)
+ break;
+ }
sr_dbg("Successfully requested next chunk.");
}
break;