Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: drivers: dac channel structure has a buffered parameter boolean #58932

Merged
merged 1 commit into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion samples/drivers/dac/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ static const struct device *const dac_dev = DEVICE_DT_GET(DAC_NODE);

static const struct dac_channel_cfg dac_ch_cfg = {
.channel_id = DAC_CHANNEL_ID,
.resolution = DAC_RESOLUTION
.resolution = DAC_RESOLUTION,
.buffered = true
};

int main(void)
Expand Down
3 changes: 2 additions & 1 deletion tests/drivers/dac/dac_api/src/test_dac.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@

static const struct dac_channel_cfg dac_ch_cfg = {
.channel_id = DAC_CHANNEL_ID,
.resolution = DAC_RESOLUTION
.resolution = DAC_RESOLUTION,
.buffered = true
};

const struct device *get_dac_device(void)
Expand Down
3 changes: 2 additions & 1 deletion tests/drivers/dac/dac_loopback/src/test_dac.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@

static const struct dac_channel_cfg dac_ch_cfg = {
.channel_id = DAC_CHANNEL_ID,
.resolution = DAC_RESOLUTION
.resolution = DAC_RESOLUTION,
.buffered = true
};

static const struct adc_channel_cfg adc_ch_cfg = {
Expand Down