Commit 427203c7 authored by Michel Arruat's avatar Michel Arruat Committed by Federico Vaga

adc_driver: decimation register is now 32bits

The new firmware (3.0) increase decimation register width
from 16 to 32 bits
parent ea517d8b
......@@ -35,7 +35,7 @@ const struct zfa_field_desc zfad_regs[] = {
/* Number of shots */
[ZFAT_SHOTS_NB] = {0x14, 0x0000FFFF, 0},
/* Sample rate */
[ZFAT_SR_DECI] = {0x1C, 0x0000FFFF, 0},
[ZFAT_SR_DECI] = {0x1C, 0xFFFFFFFF, 0},
/* Position address */
[ZFAT_POS] = {0x18, 0xFFFFFFFF, 0},
/* Pre-sample */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment