We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fc0e47 commit 215fa35Copy full SHA for 215fa35
src/hardware/fx2lafw/protocol.c
@@ -123,11 +123,7 @@ static int command_start_acquisition(const struct sr_dev_inst *sdi)
123
(cmd.flags & CMD_START_FLAGS_CLK_192MHZ? "192" :
124
(cmd.flags & CMD_START_FLAGS_CLK_48MHZ) ? "48" : "30"));
125
126
- if (delay == 0 && samplerate == SR_MHZ(192) &&
127
- (cmd.flags & CMD_START_FLAGS_CLK_192MHZ)) {
128
- /* Delay == 0 is ok in this case... */
129
- }
130
- else if (delay < 0 || delay > MAX_SAMPLE_DELAY) {
+ if (delay < 0 || delay > MAX_SAMPLE_DELAY) {
131
sr_err("Unable to sample at %" PRIu64 "Hz.", samplerate);
132
return SR_ERR;
133
}
0 commit comments