Skip to content

Commit bfca8b6

Browse files
fallriskMaureenHelm
authored andcommitted
adc: sam: Fixed adc_api test for the SAM E70.
The interval_us is supported by the adc_context code. It is not a feature that the driver writer needs to code to support. Fixes bug #9723. Signed-off-by: Justin Watson <[email protected]>
1 parent 6b6ecc0 commit bfca8b6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/adc/adc_sam_afec.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,6 @@ static int start_read(struct device *dev, const struct adc_sequence *sequence)
212212
return -EINVAL;
213213
}
214214

215-
if (sequence->options->interval_us != 0) {
216-
SYS_LOG_ERR("Spaced intervals not supported");
217-
return -EINVAL;
218-
}
219-
220215
u8_t num_active_channels = 0;
221216
u8_t channel = 0;
222217

0 commit comments

Comments
 (0)