Remove oversampling in battery voltage divider
This commit is contained in:
parent
d6670b6ceb
commit
5dbf10e3e8
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ static int bvd_init(const struct device *dev) {
|
||||||
.channels = BIT(0),
|
.channels = BIT(0),
|
||||||
.buffer = &drv_data->value.adc_raw,
|
.buffer = &drv_data->value.adc_raw,
|
||||||
.buffer_size = sizeof(drv_data->value.adc_raw),
|
.buffer_size = sizeof(drv_data->value.adc_raw),
|
||||||
.oversampling = 4,
|
.oversampling = 0,
|
||||||
.calibrate = true,
|
.calibrate = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue